SpacingData class

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

Annotations

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>
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
insets SpacingInsetsData
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
spaces SizeSet<double>
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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