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