fui_kit 2.1.0
fui_kit: ^2.1.0 copied to clipboard
Flat UI icon pack for Flutter: 2,988 SVG icons (498 icons in 6 styles — regular, bold and solid, rounded or straight) based on Flaticon UIcons. Themeable and accessible.
Changelog #
2.1.0 #
New
- Icon constants are now available in idiomatic lowerCamelCase
(
RegularRounded.addressBook). The old SCREAMING_CASE constants (RegularRounded.ADDRESS_BOOK) still work but are deprecated and will be removed in 4.0.0. - Each style class exposes an
allmap (kebab-case name → asset path) and the newFuiIcons.stylesregistry aggregates all six styles — useful for galleries and icon pickers. FUIgainedsemanticLabel(screen reader support),fitandmatchTextDirectionparameters.- Added
topicsand a showcase screenshot to the pub.dev listing, plus a fully rewritten README with corrected examples.
Behavior changes (non-breaking API, visual)
- When no
coloris given,FUInow uses the ambientIconThemecolor (previously a fixed grey), matching the behavior of Flutter'sIconwidget and adapting to light/dark themes correctly. - When no
width/heightare given,FUInow uses the ambientIconThemesize — 24 in Material apps (previously a fixed 30). Pass the values explicitly if you need the previous look.
Internal
- Implementation moved under
lib/src/; the old deep import paths (package:fui_kit/maps/...,package:fui_kit/models/maps.dart,package:fui_kit/widgets/icons/icon_widget.dart) keep working through deprecated re-exports. Importpackage:fui_kit/fui_kit.dartinstead. - Style classes are now
abstract final(they were never meant to be instantiated or extended). - Icon maps are generated by a cross-platform Dart tool
(
tool/generate_icons.dart) instead of shell scripts. - Tests now verify that every one of the 2,988 constants points to an existing SVG asset.
- Updated
flutter_lintsto ^6.0.0 and modernized CI.
2.0.2 #
- Removed unused code and files from the published package.
2.0.1 #
- Upgraded dependencies; ignore
constant_identifier_namesin generated icon maps.
2.0.0 #
- Updated to modern Flutter; refactored code and documentation.
1.0.7 #
- Fixed the size of Regular Straight icons.
1.0.6 #
- Fixed icons rendering with an unwanted shadow.
1.0.5 #
- Applied
flutter format.
1.0.4 #
- Fixed repository URL.
1.0.3 #
- Fixed example code.
1.0.2 #
- Fixed GitHub URL.
1.0.1 #
- Fixed folder name.
1.0.0 #
- Initial release: 498 SVG icons in 6 styles.
