EdgeInsetsGeometryMix<T extends EdgeInsetsGeometry> class
sealed
Base class for Mix edge insets types.
Provides factory methods for padding/margin operations.
- Inheritance
- Implementers
- Annotations
Constructors
- EdgeInsetsGeometryMix.value(T value)
-
factory
Properties
-
$bottom
→ Prop<
double> ? -
final
-
$top
→ Prop<
double> ? -
final
- hashCode → int
-
Overrides the hash code getter to compute hash code based on properties.
no setterinherited
- mergeKey → Object
-
The key used to identify compatible types for merging.
no setterinherited
-
props
→ List<
Object?> -
The properties based on which equality and hash code are computed.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
Whether to use a detailed string representation of the object.
no setterinherited
Methods
-
getDiff(
Equatable other) → Map< String, String> -
Returns a map of properties that differ between this object and another.
inherited
-
merge(
covariant EdgeInsetsGeometryMix< T> ? other) → EdgeInsetsGeometryMix<T> -
Merges this instance with
other, withothertaking precedence.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
BuildContext context) → T -
Resolves this to a concrete value using the provided
context.inherited -
toString(
) → String -
Overrides string representation for debugging and logging.
inherited
Operators
-
operator ==(
Object other) → bool -
Overrides the equality operator to compare based on the properties.
inherited
Static Methods
-
all(
double value) → EdgeInsetsMix -
All offsets equal to
value. -
bottom(
double value) → EdgeInsetsMix - Bottom offset only.
-
directional(
{double? start, double? end, double? top, double? bottom}) → EdgeInsetsDirectionalMix - Creates directional insets with only specified values.
-
end(
double value) → EdgeInsetsDirectionalMix - End offset only.
-
fromLTRB(
double left, double top, double right, double bottom) → EdgeInsetsMix - Creates from left, top, right, bottom.
-
fromSTEB(
double start, double top, double end, double bottom) → EdgeInsetsDirectionalMix - Creates from start, top, end, bottom.
-
horizontal(
double value) → EdgeInsetsMix - Equal horizontal offsets.
-
left(
double value) → EdgeInsetsMix - Left offset only.
-
maybeValue<
T extends EdgeInsetsGeometry> (T? edgeInsetsGeometry) → EdgeInsetsGeometryMix< T> ? - Creates from nullable EdgeInsetsGeometry.
-
only(
{double? left, double? right, double? top, double? bottom}) → EdgeInsetsMix - Creates insets with only specified values.
-
right(
double value) → EdgeInsetsMix - Right offset only.
-
start(
double value) → EdgeInsetsDirectionalMix - Start offset only.
-
symmetric(
{double? vertical, double? horizontal}) → EdgeInsetsMix - Symmetric vertical and horizontal offsets.
-
top(
double value) → EdgeInsetsMix - Top offset only.
-
tryToMerge(
EdgeInsetsGeometryMix< EdgeInsetsGeometry> ? a, EdgeInsetsGeometryMix<EdgeInsetsGeometry> ? b) → EdgeInsetsGeometryMix<EdgeInsetsGeometry> ? -
vertical(
double value) → EdgeInsetsMix - Equal vertical offsets.