universal method

Widget universal({
  1. List<Widget>? children,
  2. Widget? child,
})

Implementation

Widget universal({List<Widget>? children, Widget? child}) => Universal(
    heroTag: heroTag,
    unifiedButtonCategory: unifiedButtonCategory,
    onPressed: onTap ?? onPressed,
    onLongPress: onLongPress,
    onHover: onHover,
    onFocusChange: onFocusChange,
    style: style,
    clipBehavior: clipBehavior ?? Clip.none,
    focusNode: focusNode,
    autofocus: autofocus,
    statesController: statesController,
    child: child,
    direction: direction,
    mainAxisSize: MainAxisSize.min,
    crossAxisAlignment: crossAxisAlignment,
    mainAxisAlignment: mainAxisAlignment,
    children: children,
    width: width,
    height: height,
    onTap: onTap,
    margin: margin,
    color: background,
    decoration: decoration,
    padding: padding,
    alignment: alignment);