ButtonView constructor

const ButtonView({
  1. Key? key,
  2. Color? backgroundColor,
  3. Color? borderColor,
  4. Color? textColor,
  5. required String title,
  6. required void onClickFunction(
    1. BuildContext
    ),
  7. double? width,
  8. double? height,
  9. bool isEnabled = true,
  10. required BuildContext mainContext,
  11. double? textScaleFactor = 1,
})

Implementation

const ButtonView(
    {Key? key,
    this.backgroundColor,
    this.borderColor,
    this.textColor,
    required this.title,
    required this.onClickFunction,
    this.width,
    this.height,
    this.isEnabled = true,
    required this.mainContext,
    this.textScaleFactor = 1})
    : super(key: key);