LayzResponsiveValue<T> constructor
LayzResponsiveValue<T> ({
- ValueGetter<
T> ? xlarge, - ValueGetter<
T> ? large, - ValueGetter<
T> ? medium, - ValueGetter<
T> ? small, - ValueGetter<
T> ? xsmall, - ValueGetter<
T> ? fallback, - bool allowNull = false,
Implementation
LayzResponsiveValue({
ValueGetter<T>? xlarge,
ValueGetter<T>? large,
ValueGetter<T>? medium,
ValueGetter<T>? small,
ValueGetter<T>? xsmall,
ValueGetter<T>? fallback,
bool allowNull = false,
}) {
values = ResponsiveValue(
allowNull: allowNull,
large: large,
medium: medium,
small: small,
xlarge: xlarge,
xsmall: xsmall,
fallback: fallback,
);
}