material_defaults 0.1.0
material_defaults: ^0.1.0 copied to clipboard
Public, context-aware access to the private Material 3 widget defaults (ButtonStyle, ChipThemeData, InputDecoration...), generated from Flutter's own token data.
0.1.0 #
- Initial release.
MaterialDefaults.of(context)exposes the Material 3 defaults of 56 component variants (buttons, icon buttons, FABs, segmented button, cards, dialogs, sheets, snack bars, banner, divider, list/expansion tiles, chips, input decoration, checkbox, radio, switch, sliders, search bar/view, date picker, app bars, navigation bar/rail/drawer, drawer, tabs, menus, popup menu, badge, progress indicators).- Generated from the token data of Flutter 3.41.8 (token data
6_1_0) by running the SDK's owngen_defaultstemplates (tool/generate.dart); all 47 blocks verified identical to the framework source. MaterialDefaults.tokenVersion,flutterRevision,tokenDataVersions,generatedBlocks,appliesToCurrentTheme.
