backElevatedButtonNormal function

dynamic backElevatedButtonNormal(
  1. BuildContext context, {
  2. Color? color,
  3. Color? textColor,
})

Implementation

backElevatedButtonNormal(BuildContext context, { Color? color, Color? textColor } ) =>  ElevatedButton.styleFrom(
  foregroundColor: (textColor==null)? Theme.of(Get.context!).primaryColorDark :textColor, backgroundColor: (color==null)?Theme.of(Get.context!).primaryColorLight:color, padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 8),
);