xOutlineButton method

Widget xOutlineButton (
  1. {bool autofocus = false,
  2. Clip clipBehavior = Clip.none,
  3. FocusNode focusNode,
  4. Key key,
  5. void onLongPress(
      ),
    1. EdgeInsetsGeometry padding,
    2. ShapeBorder shape,
    3. Widget child,
    4. Color color,
    5. MaterialTapTargetSize materialTapTargetSize,
    6. AlignmentGeometry alignment,
    7. BorderSide side,
    8. ButtonTextTheme textTheme,
    9. double elevation,
    10. Duration animationDuration,
    11. MouseCursor disabledMouseCursor,
    12. TextStyle textStyle,
    13. VisualDensity visualDensity,
    14. bool enableFeedback,
    15. MouseCursor enabledMouseCursor,
    16. Size minimumSize,
    17. Color onSurface,
    18. Color primary,
    19. Color shadowColor}
    )

    Implementation

    Widget xOutlineButton({
      bool autofocus = false,
      Clip clipBehavior = Clip.none,
      FocusNode focusNode,
      Key key,
      void Function() onLongPress,
      EdgeInsetsGeometry padding,
      ShapeBorder shape,
      Widget child,
      Color color,
      MaterialTapTargetSize materialTapTargetSize,
      AlignmentGeometry alignment,
      BorderSide side,
      ButtonTextTheme textTheme,
      double elevation,
      Duration animationDuration,
      MouseCursor disabledMouseCursor,
      TextStyle textStyle,
      VisualDensity visualDensity,
      bool enableFeedback,
      MouseCursor enabledMouseCursor,
      Size minimumSize,
      Color onSurface,
      Color primary,
      Color shadowColor,
    }) {
      return OutlinedButton(
        onPressed: this,
        autofocus: autofocus,
        clipBehavior: clipBehavior,
        style: OutlinedButton.styleFrom(
          padding: padding,
          shape: shape,
          alignment: alignment,
          animationDuration: animationDuration,
          disabledMouseCursor: disabledMouseCursor,
          primary: primary,
          shadowColor: shadowColor,
          side: side,
          textStyle: textStyle,
          visualDensity: visualDensity,
          enableFeedback: enableFeedback,
          enabledMouseCursor: enabledMouseCursor,
          minimumSize: minimumSize,
          onSurface: onSurface,
          tapTargetSize: materialTapTargetSize,
          elevation: elevation,
          backgroundColor: color,
        ),
        focusNode: focusNode,
        key: key,
        onLongPress: onLongPress,
        child: child,
      );
    }