LayoutConstraintsOptions constructor
LayoutConstraintsOptions({})
Implementation
factory LayoutConstraintsOptions(
{double? availableInlineSize,
double? availableBlockSize,
double? fixedInlineSize,
double? fixedBlockSize,
double? percentageInlineSize,
double? percentageBlockSize,
double? blockFragmentationOffset,
BlockFragmentationType? blockFragmentationType,
dynamic data}) =>
LayoutConstraintsOptions._(
availableInlineSize: availableInlineSize ?? undefined,
availableBlockSize: availableBlockSize ?? undefined,
fixedInlineSize: fixedInlineSize ?? undefined,
fixedBlockSize: fixedBlockSize ?? undefined,
percentageInlineSize: percentageInlineSize ?? undefined,
percentageBlockSize: percentageBlockSize ?? undefined,
blockFragmentationOffset: blockFragmentationOffset ?? undefined,
blockFragmentationType: blockFragmentationType?.value ??
BlockFragmentationType.none.value,
data: data ?? undefined);