material_3p 0.6.0
material_3p: ^0.6.0 copied to clipboard
3P (third-party) version of the Material 3 Expressive package.
0.6.0 #
-
Migrated to the official
material_uipackage.- Make sure to import
package:material_ui/material_ui.dartinstead ofpackage:flutter/material.dartin your code. - This package will only support one minor version of the
material_uipackage, because of deep integration with it.
- Make sure to import
-
Moved
MaterialShapes,DynamicPathBorder,StaticPathBorder,RoundedPolygonBorder, andMorphBorderback intoandroidx_graphics_shapes.- The
androidx_graphics_shapespackage is now a mirror of thematerial_uiAPI with minor changes and performance improvements. - The
material_shapeslibrary now exports members fromandroidx_graphics_shapesthat are currently unavailable inmaterial_uias of1.8.0, such asCubicBezier,PolygonFeature,Morph, etc.
- The
-
Renamed
LoadingIndicatorHelpertoLoadingIndicatorDefaults. -
Exposed previously private
indeterminateIndicatorPolygonsanddeterminateIndicatorPolygonsonLoadingIndicatorDefaults. -
Replaced in-place list mutation with LRU caching of morph sequence and morph scale factor in
IndeterminateLoadingIndicatorandDeterminateLoadingIndicator.- Removed
generateMorphSequenceandupdateMorphSequencein favor ofbuildMorphSequenceinLoadingIndicatorDefaults. - Renamed
calculateScaleFactortocalculateMorphScaleFactorRawinLoadingIndicatorDefaults. - Introduced
LoadingIndicatorDefaults.calculateMorphScaleFactorto calculate the scale factor of the active indicator, following the specific design spec. - Caching is private use only:
LoadingIndicatorDefaults.buildMorphSequenceandLoadingIndicatorDefaults.calculateMorphScaleFactorwill not utilize caching.
- Removed
-
Major update to the Pull-to-Refresh API surface.
- Merged
PullToRefreshDelegatewithPullToRefreshController. - Made
PullToRefreshControllertruly abstract, creating a default implementation hierarchy:PullToRefreshTickerControllerandPullToRefreshSpringController. - Improved custom
ScrollPhysicsto handle more edge cases.
- Merged
-
Introduced exprimental
ProxyShapeBorderandProxyOutlinedBorderabstract classes.- They can be used to easily implement custom proxies over arbitrary consumer-supplied
ShapeBorders orOutlinedBorders.
- They can be used to easily implement custom proxies over arbitrary consumer-supplied
-
Upgraded hosted dependencies.
androidx_graphics_shapesto^2.0.0.libmonetto2.0.0-dev.23.material_uito>=1.8.0 <1.9.0.
-
Removed
PointerProviderparameter from quantizers in thematerial_color_utilitieslibrary. -
Changed the
material_symbolslibrary to useshowinstead ofhidewhen re-exporting from thematerial_symbols_iconspackage. -
Refactored internal file structure.
-
Minor code quality changes.
- Refactored classes and extension types to use Dart 3.13 primary constructors and concise constructor syntax.
0.5.0 #
-
Moved
package:androidx_graphics_shapes/material_shapeslibrary implementation intomaterial_3p.- Re-exports base shape types from
package:androidx_graphics_shapes/androidx_graphics_shapes.dartinstead of the deprecatedshapes.dart.
- Re-exports base shape types from
-
Bumped minimum SDK versions to Dart 3.13 and Flutter 3.47.
-
Upgraded hosted dependencies.
material_symbols_iconsto^4.2960.0.metato^1.19.0.vector_mathto^2.4.2.
0.4.1 #
- Bumped
libmonetdependency to2.0.0-dev.19and relaxed the dependency constraint.
0.4.0+1 #
- Updated examples in README to show breaking changes.
0.4.0 #
-
Breaking. Encapsulated
PullToRefreshScrollPhysics, making them private.- Use new
PullToRefreshController.createScrollPhysics()method to get the proper pull-to-refreshScrollPhysics.
- Use new
-
Added
PullToRefreshDefaultDelegate.defaultSpring, which contains the default spring value used if a user override was not provided. -
Fixed pull-to-refresh activating early if the user pulls on a viewport which has overscroll on the far edge.
- Pull-to-refresh should now behave as expected on scroll views with
AlwaysScrollableScrollPhysicsapplied.
- Pull-to-refresh should now behave as expected on scroll views with
-
Fixed pull-to-refresh
ScrollPhysicsincorrectly handling zero user offsets.- Now pull-to-refresh should work with
BouncingScrollPhysicswithout any issues.
- Now pull-to-refresh should work with
0.3.0 #
-
Removed
material_loading_indicatorlibrary. Replaced bymateriallibrary.- This ensures all future widgets, classes and utilities are combined together.
-
Added experimental Pull-to-refresh component implementation without theming support.
- Based on Compose Material 3 pull-to-refresh component.
- Available in
materiallibrary. - Flexible, composable API.
-
Skip painting loading indicator fill if color is transparent.
-
Updated README with examples.
0.2.0 #
-
Added Material Color Utilities.
- Exported the
libmonetpackage. - Available in the
material_color_utilitieslibrary. - Added custom implementation of image quantizers.
- Exported the
-
Added Material 3 Expressive shapes:
- Exported the
androidx_graphics_shapespackage. - Available in the
material_shapeslibrary.
- Exported the
-
Added Material Symbols:
- Exported the
material_symbols_iconspackage. - Available in the
material_symbolslibrary.
- Exported the
-
Removed dependency on the
metapackage. -
Improved package file structure.
0.1.0 #
-
Initial version.
-
Added the Loading indicator Material 3 Expressive component without theming support.
- Available in the
material_loading_indicatorlibrary. - Micro-optimizations applied: uses only a single
Ticker, etc.
- Available in the