flutter_prime 0.0.1-alpha.5
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 currentBrightness
setting.isPlatformBrightness
: Instance method that returns abool
indicating whether the instance matches the device's currentBrightness
setting or not. Useful for quickly determining if you should toggle the current theme.
ThemeDataPrime
:cupertinoThemeData
: Build aCupertinoThemeData
object based on aThemeData
.
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.