universal property

Universal universal

Implementation

Universal get universal => Universal(
    expand: true,
    refreshConfig: (onRefresh != null || onLoading != null)
        ? RefreshConfig(
            footer: Global().config.pullUpFooter,
            header: Global().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);