dangerButtonThemeMaker function
- dynamic colors
Implementation
ElevatedButtonThemeData dangerButtonThemeMaker(ColorScheme colors) =>
ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
padding: const EdgeInsets.all(18),
elevation: 0,
backgroundColor: colors.error,
foregroundColor: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12),
),
),
);