BorderButton constructor
BorderButton({
- Key? key,
- bool autofocus = false,
- Clip? clipBehavior,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHover, - VoidCallback? onLongPress,
- MaterialStatesController? statesController,
- ButtonStyle? styles,
- required VoidCallback? onPressed,
- required Widget? child,
Implementation
BorderButton({
super.key,
super.autofocus,
super.clipBehavior,
super.focusNode,
super.onFocusChange,
super.onHover,
super.onLongPress,
super.statesController,
ButtonStyle? styles,
required super.onPressed,
required super.child,
}) : super(
style: styles?.copyWith(
shape: MaterialStateProperty.all(
const StadiumBorder(),
),
),
);