Widget.outlinedButton constructor Null safety

const Widget.outlinedButton(
  1. {Key? key,
  2. required Callback? onPressed,
  3. Callback? onLongPress,
  4. @Default(false) bool autofocus,
  5. @Default(Clip.none) Clip clipBehavior,
  6. required Widget child}
)

Implementation

const factory Widget.outlinedButton({
  Key? key,
  required Callback? onPressed,
  Callback? onLongPress,
  @Default(false) bool autofocus,
  @Default(Clip.none) Clip clipBehavior,
  required Widget child,
}) = OutlinedButton;