ButtonThemeModifier.fromButtonThemeData constructor

const ButtonThemeModifier.fromButtonThemeData({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. 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,
});