booster 0.0.3 booster: ^0.0.3 copied to clipboard
A collection of useful widgets, extensions and utilities to boost Flutter app development.
booster #
A collection of useful widgets, extensions and utilities to boost Flutter app development.
Usage #
dependencies:
booster: ^0.0.3
Features #
-
Widgets
Gap
: It may be used in place of SizedBox.square().
-
Extensions
-
Widget extensions
toSliver
: It converts a widget to a Sliver.toExpanded()
: It converts a child of a Row, Column, or Flex widget to an Expanded.toFlexible()
: It converts a child of a Row, Column, or Flex widget to a Flexible.
-
String extensions
toInt
: It converts the string to an integer if possible.toDouble
: It converts the string to a double if possible.toCapitalize
: It capitalizes the first character of each word in the string.
-
BuildContext extensions
theme
: It returns the ThemeData.colorScheme
: It returns the ColorScheme.textTheme
: It returns the TextTheme.mediaQuery
: It returns the MediaQueryData.size
: It returns the Size of the MediaQueryData.padding
: It returns the EdgeInsets of the MediaQueryData.
-
License #
MIT License