ButtonThemeModifier.fromButtonThemeData constructor
const
ButtonThemeModifier.fromButtonThemeData({
- Key? key,
- Widget? child,
- Key? modifierKey,
- required ButtonThemeData data,
Creates a button theme from data
.
The data
argument must not be null.
Implementation
const ButtonThemeModifier.fromButtonThemeData({
super.key,
super.child,
super.modifierKey,
required this.data,
});