FlutterUIModifiersContainer extension
Contains the modifier members of the Container class.
The reason that FlutterUIModifiersContainer resides inside this file is
because it provides the _rebase()
method of which is fileprivate.
- on
Methods
-
backgroundColor(
Color color) → Container - A modifier that sets its widget's background color
-
corner(
double radius) → Container - A modifier that clips its widget's corners to the specified radius.
-
frame(
{double? width, double? height}) → Container - A modifier that sets its widget's frame size.
-
shadow(
double radius, {Color color = const Color.fromRGBO(0, 0, 0, .5), double blur = 25, double x = 0, double y = 0}) → Widget - A modifier that casts a box shadow under its widget.