asBlock method
WxSheetStyle
asBlock({
- bool? tileWrap,
- CrossAxisAlignment? tileAlign,
- MainAxisAlignment? tileJustify,
- double? spacing,
inherited
Creates a copy of this WxSheetStyle
but with
the width
replaced with double.infinity.
Implementation
WxSheetStyle asBlock({
bool? tileWrap,
CrossAxisAlignment? tileAlign,
MainAxisAlignment? tileJustify,
double? spacing,
}) {
return copyWith(
width: double.infinity,
tileWrap: tileWrap ?? true,
tileAlign: tileAlign,
tileJustify: tileJustify,
spacing: spacing,
);
}