GElevatedButton constructor

const GElevatedButton({
  1. Key? key,
  2. required bool isLoading,
  3. required VoidCallback? onPressed,
  4. required String text,
  5. TextStyle? textStyle,
  6. Color loadingColor = Colors.white,
  7. double loadingSize = 24.0,
})

Implementation

const GElevatedButton({
  super.key,
  required this.isLoading,
  required this.onPressed,
  required this.text,
  this.textStyle,
  this.loadingColor = Colors.white,
  this.loadingSize = 24.0,
});