fast_extensions 0.0.4 copy "fast_extensions: ^0.0.4" to clipboard
fast_extensions: ^0.0.4 copied to clipboard

outdated

Convenience extensions to make common Flutter tasks less annoying

Convenience extensions to make common Flutter tasks less annoying

Features #

Extension Use-case
FastThemeExtension Theme.of(context)
FastLocaleExtension Localizations.localeOf(context)
FastLocalizationExtension MaterialLocalizations.of(context)
FastMediaExtension MediaQuery.of(context)

Usage #

import 'package:fast_extensions/fast_extensions.dart';

// FastThemeExtension
context.theme;
context.textTheme;
context.isDarkMode;

// FastLocaleExtension
context.countryCode;
context.languageCode;

// FastLocalizationExtension
context.backButtonTooltip;

// FastMediaExtension
context.screenWidth;
context.screenHeight;
context.windowViewInsets;
...

Additional information #

See fast_ui for more information

0
likes
0
pub points
26%
popularity

Publisher

verified publisherrexios.dev

Convenience extensions to make common Flutter tasks less annoying

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on fast_extensions