flutter_scale_theme_kit 1.0.1
flutter_scale_theme_kit: ^1.0.1 copied to clipboard
Look companion for Flutter: semantic colors, light/dark tokens, and Material ThemeData. Pair with flutter_scale_kit for size. Independent — no scale_kit dependency.
Changelog #
All notable changes to this project will be documented in this file.
1.0.1 - 2026-08-28 #
First publishable look companion to flutter_scale_kit 2.0.0. Independent — no runtime dependency on Scale Kit.
Added #
STTheme/STColor/STColorswith authored light/dark (noColorScheme.fromSeeddefault).- Material
ThemeDataprojection +ThemeExtensionsocontext.stworks fromMaterialApp(theme: st.light, darkTheme: st.dark). STComponentsfor production Material widgets (buttons, FAB, chip, nav, dialog, search, slider, pickers, …).- Typed extras:
STExtra(button/card/container/text),context.st.label/sublabel/description. STComponent.states(hover / press / focus / disabled / selected) →WidgetStatePropertyontoButtonStyle(). Unauthored disabled uses 38% alpha on the rest color.STThemeModeScope/context.stMode/STThemeModeSwitchto switch the app light/dark/system mode.- Generator:
dart run flutter_scale_theme_kit:generate(Dart extras → getters, or JSON →STTheme).watchsupported. - Consumer Agent Skill:
skills/flutter-scale-theme-kit/(npx skills add fodilfliti/flutter_scale_theme_kit). - Merge recipe with Scale Kit:
appST.light.copyWith(textTheme: appST.light.createResponsiveTextTheme(appST.light.textTheme))(same for dark).
Notes #
- No
STCard/STButton. Stock Flutter and SK widgets inherit look fromThemeData. example/may path-depend on siblingflutter_scale_kit;lib/must not.