OutlinedRoundedButton constructor

const OutlinedRoundedButton(
  1. String text, {
  2. Key? key,
  3. required Function onPressed,
  4. double? width,
  5. double? height,
  6. Color? color,
  7. Color? borderColor,
  8. double? borderWidth,
  9. Color? textColor,
  10. IconData? icon,
  11. double? iconSize,
  12. Color? iconColor,
  13. ValueNotifier<BoxShadow>? shadow,
  14. double margin = 0.0,
  15. double radius = 24,
  16. bool isDisabled = false,
})

Creates an OutlinedRoundedButton widget.

The text and onPressed parameters must not be null.

Implementation

const OutlinedRoundedButton(
  String text, {
  super.key,
  required super.onPressed,
  super.width,
  super.height,
  super.color,
  super.borderColor,
  super.borderWidth,
  super.textColor,
  super.icon,
  super.iconSize,
  super.iconColor,
  super.shadow,
  super.margin,
  super.radius,
  super.isDisabled = false,
}) : super(text: text);