GradientBackground class
- Implemented types
- Annotations
Constructors
-
GradientBackground({List<
Color> ? colors, Gradient? gradient}) -
const
Properties
-
colors
→ List<
Color> ? -
final
- firstColor → Color
-
First color from the gradient
no setter
- gradient → Gradient?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lastColor → Color
-
Last color from the gradient
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context) → Widget -
Playgroung builder
override
-
copyWith(
{List< Color> ? colors, Gradient? gradient}) → GradientBackground - Helper function to copy object data
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override