InkButton constructor
const
InkButton({
- Key? key,
- required Widget child,
- required double width,
- required double height,
- BorderRadiusGeometry? borderRadius,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry markMargin = EdgeInsets.zero,
- Color? backgroundColor,
- dynamic onPressed()?,
- Widget? position,
- 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);