OutlineButton constructor

const OutlineButton({Key key, @required VoidCallback onPressed, ButtonTextTheme textTheme, Color textColor, Color disabledTextColor, Color color, Color highlightColor, Color splashColor, double highlightElevation, BorderSide borderSide, Color disabledBorderColor, Color highlightedBorderColor, EdgeInsetsGeometry padding, ShapeBorder shape, Clip clipBehavior: Clip.none, Widget child })

Create a filled button.

The highlightElevation, borderWidth, and clipBehavior arguments must not be null.

Implementation

const OutlineButton({
  Key key,
  @required VoidCallback onPressed,
  ButtonTextTheme textTheme,
  Color textColor,
  Color disabledTextColor,
  Color color,
  Color highlightColor,
  Color splashColor,
  double highlightElevation,
  this.borderSide,
  this.disabledBorderColor,
  this.highlightedBorderColor,
  EdgeInsetsGeometry padding,
  ShapeBorder shape,
  Clip clipBehavior = Clip.none,
  Widget child,
}) : assert(highlightElevation == null || highlightElevation >= 0.0),
     super(
       key: key,
       onPressed: onPressed,
       textTheme: textTheme,
       textColor: textColor,
       disabledTextColor: disabledTextColor,
       color: color,
       highlightColor: highlightColor,
       splashColor: splashColor,
       highlightElevation: highlightElevation,
       padding: padding,
       shape: shape,
       clipBehavior: clipBehavior,
       child: child,
     );