MAppBar constructor

MAppBar({
  1. required MAppBar? modifier,
  2. Widget? title,
  3. Color? backgroundColor,
  4. bool? centerTitle,
})

Implementation

MAppBar({
  required this.modifier,
  this.title,
  final Color? backgroundColor,
  final bool? centerTitle,
}) : super(
        backgroundColor: backgroundColor ?? modifier?.backgroundColor,
        title: title,
        centerTitle: centerTitle ?? modifier?.centerTitle,
      );