ColorModifers extension
A selection of modifiers on Widget for colors
- on
Methods
-
backgroundColor(
Color color) → Widget - Applies a decoration to the widget with a background color.
-
foregroundColor(
Color color) → Widget - Changes the widget's textStyle to use this color.
-
overlay(
Widget overlay, [Alignment alignment = Alignment.center]) → Widget - Creates a Stack where this overlay will be shown on top of this widget.