FilledButton constructor Null safety

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

Implementation

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