BloomNativeMeshGradient class
iOS 18 mesh gradient locations and their corresponding colors.
- Inheritance
-
- Object
- BloomNativeShapeStyle
- BloomNativeMeshGradient
- Annotations
Constructors
-
BloomNativeMeshGradient({required int width, required int height, required List<
BloomNativeUnitPoint> points, required List<Color> colors, Color background = const Color(0x00000000), bool smoothsColors = true})
Properties
- background → Color
-
final
-
colors
→ List<
Color> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
-
points
→ List<
BloomNativeUnitPoint> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smoothsColors → bool
-
final
- width → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited