InkButton constructor

const InkButton({
  1. Key? key,
  2. required Widget child,
  3. required double width,
  4. required double height,
  5. BorderRadiusGeometry? borderRadius,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. EdgeInsetsGeometry markMargin = EdgeInsets.zero,
  9. Color? backgroundColor,
  10. dynamic onPressed()?,
  11. Widget? position,
  12. AlignmentGeometry? alignment,
})

Implementation

const InkButton({
  Key? key,
  required this.child,
  required this.width,
  required this.height,
  this.borderRadius,
  this.padding,
  this.margin,
  this.markMargin = EdgeInsets.zero,
  this.backgroundColor,
  this.onPressed,
  this.position,
  this.alignment,
}) : super(key: key);