elevatedButtonTheme property
Elevated button theme
Controls the default appearance of ElevatedButton widgets.
Example:
MkxThemeData(
elevatedButtonTheme: ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.orange,
foregroundColor: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20),
),
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 16),
),
),
)
Implementation
final ElevatedButtonThemeData? elevatedButtonTheme;