fbae_core 0.1.0
fbae_core: ^0.1.0 copied to clipboard
Flutter Base App Engine — pluggable infrastructure package.
Changelog #
All notable changes to this project will be documented in this file.
0.1.0 - 2026-04-04 #
Added #
FbaeCore.init()bootstrap with guaranteed order: logger → DI → HTTP → BlocObserver → pluginsFbaeConfigwithdev(),staging(),production()factory constructors and feature flagsAppLoggerabstract interface withTalkerAppLoggerdefault implementationFbaeHttpClient(Dio-based) with Bearer token injection viaTokenProviderRefreshInterceptorusingQueuedInterceptorfor race-condition-safe token refreshApiErrorstructured error model withstatusCode,code,messageMockHttpClientAdapterfor test isolation (exported viafbae_core_testing.dart)FbaeShellwidget supporting bottom tab and drawer navigationFbaeRouter.buildRoutes()helper — consumer ownsGoRouterinstanceFbaeColors(ThemeExtension) with 13 color slots +BrightnessfieldFbaeTheme.build()static factory producing Material 3ThemeDataThemeCubitfor runtime light/dark/system mode switchingFbaeThemeProviderconvenienceBlocProviderwrapperAsyncState<T>sealed class withAsyncInitial,AsyncLoading,AsyncData<T>,AsyncErrorBaseCubit<T>withrun()helper managing loading/error/data transitionsBaseBloc<E, S>with centralisedonErrorloggingFbaeBlocObserverfor automatic Bloc state transition loggingFbaePlugininterface for third-party package integration- Example app demonstrating all features with dummyjson.com