ActionButton constructor

const ActionButton(
  1. {Key? key,
  2. required String text,
  3. required void onPressed(
      )?,
    1. double width = double.infinity,
    2. Color? buttonColor,
    3. bool filled = true,
    4. bool stroke = false,
    5. bool opaqueStroke = false,
    6. Color textColor = Colors.white,
    7. 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);