- 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.dart
generator tool found in generator directory. Addresses #11. Thanks to @timmaffett for providing this!
- Fix: Protect null
googleFontsDetails[]
references withinpicker_font.dart
when newer GoogleFonts than those used to generate theconstants.dart
are used. Fixes #9.
- Feat: Added
showFontVariants
option 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
googleFonts
parameter didn't have any effect. Fixes #6.
- Feat: Added the ability to set the language for the UI. Translations are available for 🇪🇸🇩🇪🇮🇹🇵🇹🇫🇷. Use the
lang
option 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
initialFontFamily
now 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.