- Migrate to null safety (Thanks to @fzyzcjy for doing most of the work)
- Update SDK constraints to
'>=2.12.0 <3.0.0'
- Updated dependencies (
vector_math
andtest
) to support null safety as well - Removing usage of the
new
keyword in the code inREADME.md
- Updating a URL in
README.md
- Replaced all usages of double quotes with single quotes in order to conform to the latest style recommendations.
- Fixed one instance (in
quadratic_bezier.dart
) where we used aList()
constructor instead of the[]
literal.
- Just updating this changelog file, since I forgot to in 1.1.3
- Removed all usages of the
new
keyword in the codebase in order to conform to the latest style recommendations.
- Fixed certain cases, reported by @fidlip (Thank you!), where
intersectionsWithLineSegment
failed to find intersections - Added
pointIntersectsBoundingBoxApproximately
inbezier_tools
to supportintersectionsWithLineSegment
- Added more unit tests for
intersectionsWithLineSegment
, based on cases reported by @fidlip
- Changed usages of
length == 0
andlength > 0
toisEmpty
andisNotEmpty
, respectively, in accordance with hints provided by Pub
- Added
nearestTValue
method toBezier
class, based on work by @luigi-rosso -- Thanks! - Added
indexOfNearestPoint
method (to supportnearestTValue
) inbezier_tools
- Added unit tests for both new methods in
bezier_nearest_methods_test
- Corrected the version number in the pubspec, since I forgot to commit it in 1.0.2
- Added example directory with a simple HTML demo app
- Adjusted the description in pubspec again to meet character count limits
- Adjusted minor details in pubspec
- Listed GitHub page as package homepage
- First public release
- Published to Pub at [https://pub.dartlang.org/packages/bezier]
- Initial release