DecoUtil class

Constructors

DecoUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

border({Color? color, Color? borderColor, num? radius, bool isCircle = false}) BoxDecoration
borderUnilateral(int leftOrTopOrRightOrBottom, {Color? color, Color? borderColor, bool isCircle = false, BorderStyle style = BorderStyle.solid, bool reverse = false}) BoxDecoration
different({Color color = Colors.white, num radius1 = 20, num radius2 = 90, bool isV = true}) BoxDecoration
grey({Color? color, num? radius, bool isCircle = false}) BoxDecoration
img({num? radius, bool isCircle = false, bool isAsset = true, required String url}) BoxDecoration
normal({Color? color, num? radius, bool isCircle = false, ImageProvider<Object>? image, Border? border, Gradient? gradient}) BoxDecoration
only(int leftOrTopOrRightOrBottom, {Color color = Colors.white, num? radius, BoxBorder? border}) BoxDecoration
0 - 3 topLeft-rightTop-rightBottom-leftBottom
primary({Color? color, num? radius, bool isCircle = false}) BoxDecoration
radius({Color? color, BorderRadius? radius, bool isCircle = false}) BoxDecoration
red({Color? color, num? radius, bool isCircle = false}) BoxDecoration
unilateral(int leftOrTopOrRightOrBottom, {Color? color, num? radius, bool isCircle = false}) BoxDecoration
0 - 3 leftOrTopOrRightOrBottom
white({Color? color, num? radius, bool isCircle = false}) BoxDecoration