mini_canvas 3.1.0
mini_canvas: ^3.1.0 copied to clipboard
Canvas completed widgets. Such as pentagram, dashboard, dial, etc.
3.1.0 #
2026-07-04
- Optimize
shouldRepaintfor all CustomPainters to avoid unnecessary repaints - Add
constconstructors for painters (ArcPainter, FiveStarPainter, DashBoardPainter, PingPainter) - Add comprehensive Dartdoc comments for all public APIs
- Replace
Colors.grey[x]!withColors.grey.shadeXfor better null safety - Use Dart 3 switch expressions in StringPainter
- Fix duplicate dartdoc comments and outdated parameter docs
- Refactor DashBoardPainter while(true) loop to cleaner for loop
- Remove
newkeyword usage, useOffset.zero,withValues(alpha:)instead of deprecatedwithOpacity - Fix PointPainter mutating shared Paint object
- CircleClipper.shouldReclip now returns false for better performance
- ClockPainter: convert late fields to final, add proper dispose in example
- Example: use MediaQuery.sizeOf, move items to didChangeDependencies, cancel Timer in dispose
3.0.4 #
2024-06-21
- update sdk
3.0.3 #
2024-03-18
- update flutter_lints 3.0.1
3.0.2 #
2023-09-11
- Adapter Flutter 3.1
2.0.0 #
2021-08-08
- support null-safety
0.1.0 #
2020-03-25
- Five-pointed star
- Instrument board
- Arc
- Clock
- Water ripple progress
- Custom State Map