TrailingButton constructor
const
TrailingButton({
- Key? key,
- required double? buttonWidth,
- required double? buttonHeight,
- required String? label,
- required Widget? trailing,
- required VoidCallback? onClick,
- required Duration? animationDuration,
- required Curve? curve,
- required bool enableAnimation,
- TextStyle? labelStyle,
- double? trailingGap,
- EdgeInsetsGeometry? buttonMargin,
- double? trailingMovement,
Implementation
const TrailingButton({
Key? key,
required this.buttonWidth,
required this.buttonHeight,
required this.label,
required this.trailing,
required this.onClick,
required this.animationDuration,
required this.curve,
required this.enableAnimation,
this.labelStyle,
this.trailingGap,
this.buttonMargin,
this.trailingMovement,
}) : super(key: key);