OutlinedButton constructor Null safety

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

Implementation

const factory OutlinedButton(
    {final Key? key,
    required final Callback? onPressed,
    final Callback? onLongPress,
    final bool autofocus,
    final Clip clipBehavior,
    required final Widget child}) = _$OutlinedButton;