ResponsiveStateful constructor
const
ResponsiveStateful({})
Implementation
const ResponsiveStateful({
this.sizeExtraSmall,
this.sizeSmall,
this.sizeMedium,
this.sizeLarge,
this.sizeExtraLarge,
this.minHeight,
super.key,
}) : assert(
sizeExtraSmall == null || sizeExtraSmall > 0,
'sizeExtraSmall must be greater than zero.',
),
assert(
sizeSmall == null || sizeSmall > 0,
'sizeSmall must be greater than zero.',
),
assert(
sizeMedium == null || sizeMedium > 0,
'sizeMedium must be greater than zero.',
),
assert(
sizeLarge == null || sizeLarge > 0,
'sizeLarge must be greater than zero.',
),
assert(
sizeExtraLarge == null || sizeExtraLarge > 0,
'sizeExtraLarge must be greater than zero.',
),
assert(
minHeight == null || minHeight >= 0,
'minHeight must be equal or greater than zero.',
);