PlatformButton constructor

PlatformButton({
  1. required VoidCallback onPressed,
  2. String? text,
  3. Color? color,
  4. bool isLoading = false,
})

Implementation

PlatformButton({
  required this.onPressed,
  this.text,
  this.color,
  this.isLoading = false,
});