LineDecoration class
Constructors
-
LineDecoration({required List<
List< lineGradientColors, List<Color> >Color> ? incorrectGradientColors = const [Colors.red, Colors.black], List<Color> ? correctGradientColors = const [Colors.green, Colors.black], double? strokeWidth = 20, StrokeCap? strokeCap = StrokeCap.round, TextStyle? lineTextStyle = const TextStyle(color: Colors.white, fontSize: 16, fontWeight: FontWeight.bold)}) -
const
Properties
-
correctGradientColors
→ List<
Color> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
incorrectGradientColors
→ List<
Color> ? -
final
-
lineGradientColors
→ List<
List< Color> > -
final
- lineTextStyle → TextStyle?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeCap → StrokeCap?
-
final
- strokeWidth → double?
-
final
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