ActionButton constructor
const
ActionButton(- {Key? key,
- required String text,
- required void onPressed(
)?,
- double width = double.infinity,
- Color? buttonColor,
- bool filled = true,
- bool stroke = false,
- bool opaqueStroke = false,
- Color textColor = Colors.white,
- IconData? icon}
)
Implementation
const ActionButton({
Key? key,
required this.text,
required this.onPressed,
this.width = double.infinity,
this.buttonColor,
this.filled = true,
this.stroke = false,
this.opaqueStroke = false,
this.textColor = Colors.white,
this.icon,
}) : super(key: key);