- Updated font variant buttons to always fit inside their container.
- Updated to depend on google_fonts package v6.3.2. It now includes the latest supported Google Fonts, their variants, weights, and categories.
- Bumped Dart SDK to 3.0.0.
- Added Japanese translations 🇯🇵. Thanks to @Npepperlinux for providing these!
- Added Dutch translations 🇳🇱. Thanks to @tkortekaas for providing these!
- Updated to depend on google_fonts package version ^5.0.0. It now includes the latest supported Google Fonts, their variants, weights, and categories.
- Updated Dart SDK constraint to >=3.0.0 <4.0.0.
- Updated to depend on google_fonts package v4.0.3. It now includes the latest supported Google Fonts, their variants, weights, and categories.
- Add
constants.dartgenerator tool found in generator directory. Addresses #11. Thanks to @timmaffett for providing this!
- Fix: Protect null
googleFontsDetails[]references withinpicker_font.dartwhen newer GoogleFonts than those used to generate theconstants.dartare used. Fixes #9.
- Feat: Added
showFontVariantsoption to hide font variants in the font picker. If set to false, user will only be able to select the default variant of each font. Closes #7.
- Feat: Added translations for Polish 🇵🇱. Thanks to @szymekTS for providing these!
- Fix: Setting the
googleFontsparameter didn't have any effect. Fixes #6.
- Feat: Added the ability to set the language for the UI. Translations are available for 🇪🇸🇩🇪🇮🇹🇵🇹🇫🇷. Use the
langoption when initializingFontPicker. Fixes #5.
- Fix: Issue with non-supported by Google Fonts initialFontFamily (closed #4).
- Fix: Update dependencies to be compatible with Flutter 3.
- Fix: Setting
initialFontFamilynow works (defaulted always to Roboto before).
- Fix: Font variants' text color is now set to derive from Theme's onPrimary color.
- Fix: Font categories' text color is now set to derive from Theme's onPrimary color (closes #1).
- Refactor implementation files in /src.
- Fix issue in example in iOS not rendering the FontPicker in the AlertDialog.
- Add library-level and API documentation.
- Fix hardcoded color values for dark themes.
- Expose models and constants to callers.
- Rename fromFontSpec constructor.
- Fix formatting.
- First working version.
- TODO: Basic fonts option (to be included in assets).
- TODO: Filter languages according to selected fonts on initialization.
- TODO: Implement favorites feature.