universal property
Universal
get
universal
Implementation
Universal get universal => Universal(
expand: true,
refreshConfig: (onRefresh != null || onLoading != null)
? RefreshConfig(
footer: GlobalConfig().config.pullUpFooter,
header: GlobalConfig().config.pullDownHeader,
onLoading:
onLoading == null ? null : () async => onLoading!.call(),
onRefresh:
onRefresh == null ? null : () async => onRefresh!.call())
: null,
margin: margin,
systemOverlayStyle: systemOverlayStyle,
useSingleChildScrollView: useSingleChildScrollView,
padding: padding,
isScroll: isScroll,
safeLeft: safeLeft,
safeTop: safeTop,
safeRight: safeRight,
safeBottom: safeBottom,
isStack: isStack,
direction: direction,
decoration: decoration,
mainAxisAlignment: mainAxisAlignment,
crossAxisAlignment: crossAxisAlignment,
children: children,
child: child);