MephistoAppBar constructor

const MephistoAppBar({
  1. Key? key,
  2. required Widget title,
  3. bool? showBackArrow = false,
  4. bool? isDefaultBackAction = true,
  5. Function? onBackArrowTap,
  6. Function? onSuffixIconTap,
  7. bool? isSuffixProcessing = false,
  8. Widget? suffixIcon,
  9. Function? onPrefixIconTap,
  10. Widget? prefixIcon,
  11. bool? isCentred = false,
  12. MephistoTextIconBadge? badge,
  13. String? image,
  14. bool? isNetworkImage,
  15. String? networkImage,
  16. String? placeholder,
})

Implementation

const MephistoAppBar(
    {super.key,
    required this.title,
    this.showBackArrow = false,
    this.isDefaultBackAction = true,
    this.onBackArrowTap,
    this.onSuffixIconTap,
    this.isSuffixProcessing = false,
    this.suffixIcon,
    this.onPrefixIconTap,
    this.prefixIcon,
    this.isCentred = false,
    this.badge,
    this.image,
    this.isNetworkImage,
    this.networkImage,
    this.placeholder});