SpacingData class abstract

Defines the configuration of the overall visual Spacing for a widget subtree within the app.

Annotations
  • @freezed

Constructors

SpacingData({required SpacingInsetsData insets, required SizeSet<double> spaces})
A spacing configuration from the given spaces and insets.
const
factory
SpacingData.fromSpaces({required double extraSmall, required double small, required double semiSmall, required double normal, required double semiBig, required double big, required double extraBig})
Generates all insets from the given spaces.
factory
SpacingData.generate(double normal)
Generates all spaces and insets from a given normal base space value.
factory

Properties

copyWith → $SpacingDataCopyWith<SpacingData>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
insets SpacingInsetsData
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaces SizeSet<double>
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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