ButtonTheme.fromButtonThemeData constructor Null safety
- {Key? key,
- required ButtonThemeData data,
- required Widget child}
Creates a button theme from data.
The data argument must not be null.
Implementation
const ButtonTheme.fromButtonThemeData({
super.key,
required this.data,
required super.child,
}) : assert(data != null);