flutter_prime 0.0.1-alpha.5 copy "flutter_prime: ^0.0.1-alpha.5" to clipboard
flutter_prime: ^0.0.1-alpha.5 copied to clipboard

A library of useful, reusable, methods and extensions for Flutter.

0.0.1-alpha.1 #

  • Initial pre-release

0.0.1-alpha.2 #

Additions: #

Widgets:

  • EmptyView: a view with no content that takes up no space. A quick way to end a widget tree, or used as a placeholder druing development.
  • EmptyIcon: an invisible icon, that does take up space. Useful for spacing out groups of icon buttons.

Extensions:

  • BrightnessPrime:
    • platformBrightness: Static method that returns the device's current Brightness setting.
    • isPlatformBrightness: Instance method that returns a bool indicating whether the instance matches the device's current Brightness setting or not. Useful for quickly determining if you should toggle the current theme.
  • ThemeDataPrime:
    • cupertinoThemeData: Build a CupertinoThemeData object based on a ThemeData.

0.0.1-alpha.3 #

Additions: #

Extensions:

  • ColorPrime:
    • filter: Instance method that returns a [ColorFilter] with the specified [BlendMode].
    • darken: Instance method that returns [Color] that is darker by either a specified amount or percentage.
    • lighten: Instance method that returns [Color] that is lighter by either a specified amount or percentage.

0.0.1-alpha.4 #

Notes: #

  • Renamed the build.sh script to prebuild.sh to be more accurate.

Additions: #

Extensions:

0.0.1-alpha.5 #

Additions: #

Extensions:

  • ColorPrime:
    • random: Instance method that returns a randomized [Color].
3
likes
150
points
33
downloads

Publisher

verified publishergizmos.dev

Weekly Downloads

A library of useful, reusable, methods and extensions for Flutter.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, prime

More

Packages that depend on flutter_prime