OutlinedButtonTheme constructor Null safety

const OutlinedButtonTheme(
  1. {Key? key,
  2. required OutlinedButtonThemeData data,
  3. required Widget child}
)

Create a OutlinedButtonTheme.

The data parameter must not be null.

Implementation

const OutlinedButtonTheme({
  super.key,
  required this.data,
  required super.child,
}) : assert(data != null);