RoundButtonView constructor
RoundButtonView({
- Key? key,
- double? width,
- double? height,
- double reversePlusDistance = 20,
- required TextSpan buttonText,
- Duration plusDuration = const Duration(milliseconds: 300),
- Color buttonColor = const Color(0xFF42bcb6),
- double plusDistance = 4,
- double borderThickness = 2,
- Duration reversePlusDuration = const Duration(milliseconds: 1500),
Implementation
RoundButtonView({
Key? key,
this.width,
this.height,
this.reversePlusDistance = 20,
required this.buttonText,
this.plusDuration = const Duration(milliseconds: 300),
this.buttonColor = const Color(0xFF42bcb6),
this.plusDistance = 4,
this.borderThickness = 2,
this.reversePlusDuration = const Duration(milliseconds: 1500),
}) : super(key: key);