FragmentResultOptions constructor

FragmentResultOptions({
  1. double? inlineSize,
  2. double? blockSize,
  3. double? autoBlockSize,
  4. Iterable<LayoutFragment>? childFragments,
  5. dynamic data,
  6. BreakTokenOptions? breakToken,
})

Implementation

factory FragmentResultOptions(
        {double? inlineSize,
        double? blockSize,
        double? autoBlockSize,
        Iterable<LayoutFragment>? childFragments,
        dynamic data,
        BreakTokenOptions? breakToken}) =>
    FragmentResultOptions._(
        inlineSize: inlineSize ?? 0,
        blockSize: blockSize ?? 0,
        autoBlockSize: autoBlockSize ?? 0,
        childFragments: childFragments ?? const [],
        data: data ?? undefined,
        breakToken: breakToken ?? undefined);