baymax 1.0.0
baymax: ^1.0.0 copied to clipboard
Shared, app-agnostic Flutter building blocks: a typed network client, an adaptive app shell, themeable design tokens, and environment config.
1.0.0 #
First public release on pub.dev.
Breaking: rebranded the package for public release.
- Renamed the package
wirecept_core→baymax; main library file is nowlib/baymax.dart. Update allpackage:wirecept_core/...imports topackage:baymax/.... - Dropped the
Baymaxprefix from every public class/enum/typedef now that the package's own barrel imports (network.dart,theming.dart, etc.) handle namespacing — the prefix was just noise (BaymaxEnv/BaymaxEnvironmentstuttered,BaymaxHttpClientvsBaymaxRequestread redundantly).AppColors/AppTypographykeep anAppqualifier since bareColors/Typographywould collide with Flutter's own classes. Seedoc/for the full renamed API surface per module. - Split
lib/src/shell/intoshell/(true navigation-shell concerns:AdaptiveScaffold,AppGlobals,Breakpoints) and a newlib/src/widgets/domain for generic reusable widgets (DialogPage/ConfirmDialog/InputDialog,TapUnlock), with its own barrellib/widgets.dart— seedoc/widgets.md. - Restructured
lib/src/by domain (config/,network/,shell/,theming/) and added per-domain barrels (config.dart,network.dart,shell.dart,theming.dart) re-exported frombaymax.dart. - Added
doc/with a complete usage reference per module plus a performance audit against docs.flutter.dev/perf. - Fixed the README
Env.initexample, which didn't match the real signature (baseUrlsis required). - Replaced the proprietary LICENSE with BSD 3-Clause and added a minimal
example/app.
0.0.1 #
- Initial release: typed network client (
ApiClient,ApiRequest,MultipartApiRequest,DownloadApiRequest), interceptors (AuthInterceptor,MockBaseUrlInterceptor,LoggingInterceptor), env config, and design tokens (colors, dimensions, typography).