antd_theme 1.0.2
antd_theme: ^1.0.2 copied to clipboard
Ant Design v6 theme system for Flutter. Theme data, shadow tokens, responsive breakpoints, and screen adaptation.
Changelog #
1.0.2 #
- Web support: platform detection no longer imports dart:io (conditional platform_os loader).
- Republished to refresh pub.dev platform scoring.
1.0.1 #
- Fix pub.dev static analysis results by aligning internal dependency constraints.
- Ship the package example and tighten pubspec metadata for better pub.dev scoring.
- Documentation and changelog polish.
1.0.0 #
- Added
AntThemeDatawith the full Seed -> Map -> Alias pipeline, including light, dark, andfromSeedfactories and around 100 color aliases. - Added typography, radius, spacing, control-height, line-width, motion, shadow, z-index, opacity, and screen-breakpoint getters to
AntThemeData. - Added
AntThemeData.s()andAntScalefor design-value scaling, with fixed, identity, and screen-derived (auto) factors. - Added
AntThemeandAntThemeScopefor inherited theme access, plusAntThemeBuilderfor rebuilding with(context, theme). - Added the
AntMaterialTheme.toThemeData()bridge, mapping antd tokens onto Flutter's color scheme, text theme, and component themes, with an optional brightness override. - Added
AntBreakpointandAntBreakpointsfor antd grid breakpoints, comparison operators, andisUp/isDown/isBetweenqueries. - Added
AntResponsive,AntResponsiveInit, andAntLayoutDatafor width, breakpoint, device type, orientation, fold state, platform, and scale factor resolution. - Added
AntPlatformfor centralized web, desktop, mobile, and input-capability checks. - Added
AntOverlayMaterialfor Material-based popup and sheet overlays.