app_fonts_provider 0.9.0
app_fonts_provider: ^0.9.0 copied to clipboard
Loads a custom font before the app starts so it shows up everywhere from the very first frame. If loading fails, the user is sent to the font's hosting page instead of being left on a blank screen.
0.9.0 #
- New
chromeTabColorparameter onAppFontsProvider.bootstrap(also onLoaderScreenand theAppFontsProviderconstructor): paints the toolbar of the in-app browser tab. Defaults to black. - Switched the in-app browser launcher from
url_launchertoflutter_custom_tabsto support toolbar coloring (Chrome Custom Tabs on Android, SFSafariViewController on iOS).
0.8.8 #
- Initial public release of
app_fonts_provider. - One-call
AppFontsProvider.bootstrap(fontUrl, app)that shows a loading screen, loads the font, and either runs your app or sends the user to the font's hosting page on failure. - Decision is cached in
SharedPreferences, so subsequent launches skip loading and route the user immediately. - Optional
debug: trueflag prints each step of the flow.