ButtonOption constructor

const ButtonOption({
  1. Color? color,
  2. double height = 0.4,
  3. IconData? iconData,
  4. Object? arguments,
  5. required String text,
  6. String? subText,
  7. String? route,
  8. bool? isVisible = true,
})

Implementation

const ButtonOption(
    {this.color,
    this.height = 0.4,
    this.iconData,
    this.arguments,
    required this.text,
    this.subText,
    this.route,
    this.isVisible = true});