elevatedButtonNormalV1 function

dynamic elevatedButtonNormalV1({
  1. Color? color,
  2. Color? textColor,
  3. OutlinedBorder? shape,
})

Implementation

elevatedButtonNormalV1({Color? color, Color? textColor, OutlinedBorder? shape}) =>
    ElevatedButton.styleFrom(
      backgroundColor: (color == null) ? Theme.of(Get.context!).primaryColor : color,
      foregroundColor: (textColor == null) ? Colors.white : textColor,
      shape: shape,
    );