Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 433 Bytes

widget-wrapper.md

File metadata and controls

12 lines (9 loc) · 433 Bytes

WidgetWrapper

  • It is used to solve flutter's ui system, some Widgets that need to implement the featured interface, such as KeepAlive, because the Widget generated by Component will be wrapped by a Stateful Widget inside the fish redux framework.
  • Sample Code
import 'package:flutter/material.dart' hide Action, Page;

Widget repaintBoundaryWrapper(Widget widget) {
  return RepaintBoundary(child: widget);
}