FuturisticButton constructor
const
FuturisticButton({
- Key? key,
- required String text,
- VoidCallback? onPressed,
- double width = 200,
- double height = 50,
- Color backgroundColor = const Color(0xFF1A1A1A),
- Color textColor = Colors.white,
- Color borderColor = const Color(0xFF00FFAA),
- double borderWidth = 2.0,
- double borderRadius = 8.0,
- TextStyle? textStyle,
- Duration animationDuration = const Duration(seconds: 2),
- bool isEnabled = true,
Implementation
const FuturisticButton({
Key? key,
required this.text,
this.onPressed,
this.width = 200,
this.height = 50,
this.backgroundColor = const Color(0xFF1A1A1A),
this.textColor = Colors.white,
this.borderColor = const Color(0xFF00FFAA),
this.borderWidth = 2.0,
this.borderRadius = 8.0,
this.textStyle,
this.animationDuration = const Duration(seconds: 2),
this.isEnabled = true,
}) : super(key: key);