rough_flutter 0.1.0
rough_flutter: ^0.1.0 copied to clipboard
A Flutter library that allows you to draw in a sketchy, hand-drawn-like style. Forked and maintained version of the original rough package.
Changelog #
2.0.0 - 2025-08-19 #
🎉 Major Release: Dart 3 Support #
This release brings full Dart 3 compatibility and null safety support to flutter_rough!
Breaking Changes #
- Minimum Dart SDK version is now 3.0.0
- All APIs now use null safety
FillerConfigconstructor changed to use named parameters- All widget constructors now require
keyparameter to be explicitly marked as nullable - Removed deprecated linting rules
New Features #
- Full Dart 3.0+ support
- Complete null safety implementation
- Added
CrossHatchFillerandDotDashFillerimplementations - Improved type safety across all APIs
- Better documentation with dartdoc comments
Improvements #
- Updated to use
flutter_lintsinstead ofextra_pedantic - Modernized code to use latest Dart idioms:
- Used
superparameters where applicable - Applied const constructors where possible
- Used tear-offs for cleaner code
- Used
- Improved test coverage
- Better organized exports in main library file
- Enhanced README with comprehensive examples
Migration Guide #
If you're upgrading from 1.x:
- Update your Dart SDK constraint to
>=3.0.0 <4.0.0 - Update
FillerConfiginstantiation:// Old FillerConfig( hachureGap: 8, hachureAngle: -20, drawConfig: myDrawConfig, ); // New FillerConfig.build( hachureGap: 8, hachureAngle: -20, drawConfig: myDrawConfig, ); - Ensure all widget constructors use
requiredfor mandatory parameters - Run
dart fix --applyto automatically fix most issues
Development #
- Added comprehensive integration tests
- Created example app with interactive demos
- Set up CI/CD with GitHub Actions
- Added proper test coverage for all fillers
Bug Fixes #
- Fixed null safety issues throughout the codebase
- Resolved all analyzer warnings
- Fixed missing filler implementations
0.1.1 2020-May-5 #
FillConfignow has a builderRough.drawis nowdrawRough, an extension method ofCanvas- Basic external API documentation
0.1.0+2 2020-May-5 #
- Basic documentation
- Cute badges!
0.1.0+1 2020-May-5 #
- Testing publication through CI
0.1.0 2020-May-4 #
- Initial release
- Support for basic figures with some fillings