stops property

List<List> stops

The ramp of colors to use on a gradient offset, stop-color, stop-opacity

  • setting 'null' for stop-color, will set its original data color
  • setting 'function' for stop-color, will pass data id as argument. It should return color string or null value

Implementation

external List<
        List<
            dynamic /*num|String|String Function(String)*/ > /*Tuple of <num,String|Null|String Function(String),num>*/ >
    get stops;
void stops=(List<List> v)

Implementation

external set stops(
    List<List<dynamic /*num|String|String Function(String)*/ > /*Tuple of <num,String|Null|String Function(String),num>*/ >
        v);