build method
Yes, the build method. 没错,是它是它就是它,我们亲爱的 build 方法~
Implementation
Widget build(BuildContext context) {
return AnnotatedRegion<SystemUiOverlayStyle>(
value: overlayStyle,
child: Theme(
data: theme,
child: ChangeNotifierProvider<AssetPickerProvider<A, P>>.value(
value: provider,
child: Material(
color: theme.canvasColor,
child: isAppleOS ? appleOSLayout(context) : androidLayout(context),
),
),
),
);
}