TenButton constructor
const
TenButton({
- required Widget child,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- Color? backgorundColor,
- bool isBorder = false,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 24, vertical: 12),
- double borderRadius = 32,
- double opacity = 0.85,
- Key? key,
Implementation
const TenButton(
{required this.child,
this.onTap,
this.onLongPress,
this.backgorundColor,
this.isBorder = false,
this.padding = const EdgeInsets.symmetric(horizontal: 24, vertical: 12),
this.borderRadius = 32,
this.opacity = 0.85,
super.key});