androidx_graphics_shapes 1.5.0 copy "androidx_graphics_shapes: ^1.5.0" to clipboard
androidx_graphics_shapes: ^1.5.0 copied to clipboard

A library for easy creation, transformation, and morphing of rounded polygonal shapes. Contains predefined Material Design shapes that can be used at various components.

1.5.0 #

  • Changed RoundedPolygonExtension.transformedWithMatrix4() to always perform perspective transform. Removed the usePerspectiveTransform parameter.
  • Fixed RoundedPolygon.hashCode returning different hash codes for equal objects. The features list is now being properly hashed by values.
  • Replaced usages of listEquals() and Object.hashAll() with ListEquality().equals() and ListEquality().hash().
  • Minor optimizations, as well as internal and code style changes.

1.4.0+1 #

  • Added missing 1.4.0 changelog entries.

1.4.0 #

  • Bumped minimum Dart SDK to 3.11 and Flutter to 3.41.
  • Marked internal extension methods on RoundedPolygon and Morph as deprecated.
  • Fixed RoundedPolygonBorder.copyWith() skipping side and squash properties.
  • Exposed PathBorder for public use.
  • Added transformedWithMatrix2, transformedWithMatrix3 and transformedWithMatrix4 methods to RoundedPolygonExtension.
  • Added more arguments to RoundedPolygonExtension.toPath and MorphExtension.toPath methods.
  • Optimized internal calculations and algorithms in the material_shapes library only.

1.3.2 #

  • Downgraded the dependency constraint of meta to ^1.17.0 to match the version pinned by the stable SDK.

1.3.1 #

  • Removed usages of the @immutable annotation.
  • Internal changes.
  • Addressed linter feedback.
  • Upgraded dependencies.

1.3.0 #

  • Added path caching to RoundedPolygonBorder and MorphBorder so they are no longer const-constructable.
  • Implemented morphing between RoundedPolygonBorder shapes and between MorphBorder shapes (with the same morph values).
  • Exposed start and end properties of Morph as internal members.
  • Internal updates to MaterialShapes.
  • Added inline pragmas to internal utils.

1.2.0 #

  • CornerRounding.new now uses positional parameters. For named parameters, CornerRounding.from can be used.
  • Internal code style changes.

1.1.1 #

  • Updated README.md with expanded information.
  • Added an empty example/main.dart for future implementation.
  • Added documentation comments for more items.

1.1.0 #

  • Optimized Point internal implementation for raw construction, making it an extension type.
  • Optimized Cubic.fromPoints internal constructor implementation.
  • Added identity equality checks for MutableCubic, making every instance of the class only be equal to itself.
  • Changed startAngle type from int to double in various APIs.
  • Previously mutable static members of MaterialShapes (i.e. MaterialShapes.circle, MaterialShapes.square etc.) are now final.
  • Applied dot shorthands across the library.
  • Improve overall code style and clarity.

1.0.0 #

  • Initial version.
0
likes
160
points
207
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A library for easy creation, transformation, and morphing of rounded polygonal shapes. Contains predefined Material Design shapes that can be used at various components.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, flutter, meta, vector_math

More

Packages that depend on androidx_graphics_shapes