UniversalUIDecorationExtensions extension

Extension methods for Widget.

Widgetの拡張メソッドです。

on

Methods

background(Color backgroundColor) DecoratedBox

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Change the backgroundColor of the Widget.
border(BoxBorder border) DecoratedBox

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Add border to Widget.
decoration({Color? backgroundColor, BoxBorder? border}) DecoratedBox

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Add a backgroundColor background or border to the Widget.
opacity({required double opacity}) Opacity

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Change the transparency of Widget to opacity.
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.