ScriptStyle constructor

const ScriptStyle({
  1. double? scale,
  2. Color? color,
})

Creates a ScriptStyle. Null fields defer to the default.

Implementation

const ScriptStyle({this.scale, this.color})
  : assert(scale == null || scale > 0);