DimenInitializer class
Constructors
-
DimenInitializer({DeviceConfig? deviceConfig, DeviceType? deviceType, Iterable<DimenConfigData<Dimen>> dimens = const [], DimenConfig<ConstraintDimen> appbar = DefaultConfigs.appbar, DimenConfig<ConstraintDimen> bottom = DefaultConfigs.bottom, DimenConfig<ConstraintDimen> button = DefaultConfigs.button, DimenConfig<ConstraintDimen> image = DefaultConfigs.image, DimenConfig<ConstraintDimen> scaffold = DefaultConfigs.scaffold, DimenConfig<SizeDimen> avatar = DefaultConfigs.avatar, DimenConfig<SizeDimen> corner = DefaultConfigs.corner, DimenConfig<SizeDimen> divider = DefaultConfigs.divider, DimenConfig<SizeDimen> fontSize = DefaultConfigs.fontSize, DimenConfig<SizeDimen> icon = DefaultConfigs.icon, DimenConfig<SizeDimen> indicator = DefaultConfigs.indicator, DimenConfig<SizeDimen> logo = DefaultConfigs.logo, DimenConfig<SizeDimen> margin = DefaultConfigs.margin, DimenConfig<SizeDimen> padding = DefaultConfigs.padding, DimenConfig<SizeDimen> size = DefaultConfigs.size, DimenConfig<SizeDimen> spacing = DefaultConfigs.spacing, DimenConfig<SizeDimen> stroke = DefaultConfigs.stroke, DimenConfig<WeightDimen> fontWeight = DefaultConfigs.fontWeight})
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Static Methods
-
assumedSize(Size size)
→ Size?
-
-
attach({Iterable<DimenConfigData<Dimen>> dimens = const []})
→ void
-
-
constraintOf(String name, Size size, {ConstraintDimenData? defaults, bool defaultScalable = false})
→ ConstraintDimen
-
-
init({DeviceConfig? deviceConfig, DeviceType? deviceType, Iterable<DimenConfigData<Dimen>> dimens = const [], DimenConfig<ConstraintDimen> appbar = DefaultConfigs.appbar, DimenConfig<ConstraintDimen> bottom = DefaultConfigs.bottom, DimenConfig<ConstraintDimen> button = DefaultConfigs.button, DimenConfig<ConstraintDimen> image = DefaultConfigs.image, DimenConfig<ConstraintDimen> scaffold = DefaultConfigs.scaffold, DimenConfig<SizeDimen> avatar = DefaultConfigs.avatar, DimenConfig<SizeDimen> corner = DefaultConfigs.corner, DimenConfig<SizeDimen> divider = DefaultConfigs.divider, DimenConfig<SizeDimen> fontSize = DefaultConfigs.fontSize, DimenConfig<SizeDimen> icon = DefaultConfigs.icon, DimenConfig<SizeDimen> indicator = DefaultConfigs.indicator, DimenConfig<SizeDimen> logo = DefaultConfigs.logo, DimenConfig<SizeDimen> margin = DefaultConfigs.margin, DimenConfig<SizeDimen> padding = DefaultConfigs.padding, DimenConfig<SizeDimen> size = DefaultConfigs.size, DimenConfig<SizeDimen> spacing = DefaultConfigs.spacing, DimenConfig<SizeDimen> stroke = DefaultConfigs.stroke, DimenConfig<WeightDimen> fontWeight = DefaultConfigs.fontWeight})
→ DimenInitializer
-
-
of<T extends Dimen>(String name, Size size, [T? initial])
→ T
-
-
sizeOf(String name, Size size)
→ SizeDimen
-
-
weightOf(String name, Size size)
→ WeightDimen
-