LitRoundedOutlinedButton constructor

const LitRoundedOutlinedButton({
  1. Key? key,
  2. required Color borderColor,
  3. required Widget child,
  4. required void onPressed(),
  5. double radius = 25.0,
  6. double strokeWidth = 4.0,
})

Creates a RoundedBordedButton.

The button will surround the provided child Widget using a Border. Its color is set by the corresponding borderColor parameter value. Its BorderRadius is set by default to have a radius of 25.0 pixels.

Implementation

const LitRoundedOutlinedButton({
  Key? key,
  required this.borderColor,
  required this.child,
  required this.onPressed,
  this.radius = 25.0,
  this.strokeWidth = 4.0,
}) : super(key: key);