PlatformButton constructor

const PlatformButton({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback? onTap,
  4. Color? color,
  5. EdgeInsets? padding,
  6. List<BoxShadow>? boxShadow,
  7. BorderRadius? borderRadius,
})

Implementation

const PlatformButton({
  Key? key,
  required this.child,
  required this.onTap,
  this.color,
  this.padding,
  this.boxShadow,
  this.borderRadius,
}) : super(key: key);