ButtonTheme.fromButtonThemeData constructor

const ButtonTheme.fromButtonThemeData({
  1. Key? key,
  2. required ButtonThemeData data,
  3. required Widget child,
})

Creates a button theme from data.

Implementation

const ButtonTheme.fromButtonThemeData({
  super.key,
  required this.data,
  required super.child,
});