UniversalUIDecorationExtensions extension
- on
Methods
-
background(
Color backgroundColor) → DecoratedBox -
Available on Widget, provided by the UniversalUIDecorationExtensions extension
Change thebackgroundColor
of the Widget. -
border(
BoxBorder border) → DecoratedBox -
Available on Widget, provided by the UniversalUIDecorationExtensions extension
Addborder
to Widget. -
decoration(
{Color? backgroundColor, BoxBorder? border}) → DecoratedBox -
Available on Widget, provided by the UniversalUIDecorationExtensions extension
Add abackgroundColor
background orborder
to the Widget. -
opacity(
{required double opacity}) → Opacity -
Available on Widget, provided by the UniversalUIDecorationExtensions extension
Change the transparency of Widget toopacity
. -
shadow(
{Color shadowColor = const Color(_kColorDefault), double blurRadius = 0.0, double spreadRadius = 0.0, Offset offset = Offset.zero, BlurStyle blurStyle = BlurStyle.normal}) → DecoratedBox -
Available on Widget, provided by the UniversalUIDecorationExtensions extension
Add shadow to Widget.