FSCustomSpacing class
Custom spacing configuration for advanced theming
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lg → double
-
final
- md → double
-
final
- none → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sm → double
-
final
-
values
→ List<
double> -
Get all spacing values
no setter
- xl → double
-
final
- xs → double
-
final
- xxl → double
-
final
- xxxl → double
-
final
Methods
-
byIndex(
int index) → double - Get spacing value by scale index
-
copyWith(
{double? none, double? xs, double? sm, double? md, double? lg, double? xl, double? xxl, double? xxxl}) → FSCustomSpacing - Create a copy with updated values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
value(
FSSpacingScale scale) → double - Get spacing value by scale enum
-
withMultiplier(
double multiplier) → FSCustomSpacing - Create spacing with multiplier applied to all values
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited