groovin_widgets library
Technical documentation for groovin_widgets
Classes
- AvatarBackButton
- A back button with a user Avatar built into it (like WhatsApp).
- GroovinExpansionTile
- A slightly more customizable ExpansionTile widget.
- HexColor
- Constructs a Color from a hex code string, of the format #RRGGBB.
- ModalDrawerHandle
- A customizable 'handle' intended for use with modal BottomSheet widgets.
-
OutlineDropdownButton<
T> - A DropdownButton with a default outlined InputDecoration.
-
OutlineDropdownButtonFormField<
T> - A DropdownButton with a default outlined InputDecoration that can be used in Form widgets.
- ScrollControllerBuilder
- A widget that exposes a ScrollController to the child, thereby allowing widgets that require a ScrollController to be fully declarative.
- SplitColorBackground
- A widget with header and body sections that each have different background colors.
Functions
-
printFormattedJson(
Object json) → void - Prints a JSON String in a nicely formatted manner.
-
textLuminance(
Color backgroundColor) → Color - A helper function for determining what color to use in a Text widget based on a given background color.