elevatedButtonNormal function
dynamic
elevatedButtonNormal({
- Color? backgroundColor,
- Color? textColor,
- OutlinedBorder? shape,
- double? elevation,
- EdgeInsetsGeometry? padding,
Implementation
elevatedButtonNormal({
Color? backgroundColor,
Color? textColor,
OutlinedBorder? shape,
double? elevation,
EdgeInsetsGeometry? padding
}) =>
ElevatedButton.styleFrom(
elevation: elevation,
backgroundColor: (backgroundColor == null)
? Theme.of(Get.context!).primaryColor
: backgroundColor,
foregroundColor: (textColor == null) ? Colors.white : textColor,
shape: shape,
padding: padding);