fast_extensions 0.0.5 copy "fast_extensions: ^0.0.5" to clipboard
fast_extensions: ^0.0.5 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
FastLocale Localizations.localeOf(context)
FastMaterialColor FastMaterialColor.fromColor(color)
FastMaterialLocalizations MaterialLocalizations.of(context)
FastMediaQuery MediaQuery.of(context)
FastTheme Theme.of(context)

Usage #

import 'package:fast_extensions/fast_extensions.dart';

// FastLocale
context.countryCode;
context.languageCode;

// FastMaterialColor
final primarySwatch = FastMaterialColor.fromColor(Color(0xFFBC52CC));

// FastMaterialLocalizations
context.backButtonTooltip;

// FastMediaQuery
context.screenWidth;
context.screenHeight;
context.windowViewInsets;

// FastTheme
context.theme;
context.textTheme;
context.isDarkMode;
...

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