booster 0.0.4 copy "booster: ^0.0.4" to clipboard
booster: ^0.0.4 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.4

Features #

  • Widgets

    • Gap: It may be used in place of SizedBox.square().
    • FlexRow: It's like a [Row] but it has a [gap] and [reversed] property.
    • FlexColumn: It's like a [Column] but it has a [gap] and [reversed] property.
  • 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.
      • toColor: It converts a CSS hex color string to a Color if possible.
    • 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

Support #

Buy Me A Coffee

1
likes
160
pub points
0%
popularity

Publisher

verified publishercodingmitra.com

A collection of useful widgets, extensions and utilities to boost Flutter app development.

Repository (GitHub)
View/report issues

Topics

#flutter #widget #extensions #utilities

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on booster