Skip to content

0.66.0

Compare
Choose a tag to compare
@imaNNeo imaNNeo released this 25 Dec 14:51
  • IMPROVEMENT (by @imaNNeo) Add Flutter sdk constraints to the pubspec.yaml to force the user/developer to upgrade the Flutter version to 3.16.0 (latest), #1509
  • IMPROVEMENT (by @imaNNeo) Add dotPainter property to ScatterSpot to allow customizing the dot painter, #568
  • BREAKING (by @imaNNeo) Remove color and radius properties from ScatterSpot (use dotPainter instead), #568
  • BREAKING (by @imaNNeo) Change the default value of FlDotCirclePainter.strokeWidth to 0.0
/// Migration guide:
/// This is the old way:
ScatterSpot(
  2,
  5,
  color: Colors.red,
  radius: 12,
)

/// This is the new way:
ScatterSpot(
  2,
  8,
  dotPainter: FlDotCirclePainter(
    color: Colors.red,
    radius: 22,
  ),
),