ShadowUtility<T extends Attribute> class

A utility class for working with Shadow attributes.

This class provides methods to create and modify Shadow instances using a fluent API.

Inheritance

Constructors

ShadowUtility(T builder(ShadowDto))
Creates a new ShadowUtility instance.

Properties

builder → T Function(ShadowDto)
finalinherited
color ColorUtility<T>
A utility for setting the Shadow.color property.
latefinal
hashCode int
The hash code for this object.
no setterinherited
offset OffsetUtility<T>
A utility for setting the Shadow.offset property.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

as(Shadow value) → T
inherited
blurRadius(double v) → T
Sets the Shadow.blurRadius property.
call({Color? color, Offset? offset, double? blurRadius}) → T
Creates a new Attribute with the specified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
only({ColorDto? color, Offset? offset, double? blurRadius}) → T
Creates a new Attribute with the specified properties.
override
toString() String
A string representation of this object.
inherited

Operators

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