toWidget method

  1. @override
LimitedBox toWidget(
  1. AnyWidgetContext context
)
override

Implementation

@override
LimitedBox toWidget(AnyWidgetContext context) {
  return LimitedBox(
    key: key?.toFlutter(context),
    child: child?.toWidget(context),
    maxHeight: maxHeight ?? double.infinity,
    maxWidth: maxWidth ?? double.infinity,
  );
}