CommonAppBar constructor

const CommonAppBar({
  1. Key? key,
  2. required String title,
  3. dynamic onBackButtonPressed()?,
  4. bool showBack = false,
  5. List<Widget>? actions,
  6. double? elevation = 1,
})

Implementation

const CommonAppBar({
  Key? key,
  required this.title,
  this.onBackButtonPressed,
  this.showBack = false,
  this.actions,
  this.elevation = 1,
}) : preferredSize = const Size.fromHeight(50.0), super(key: key);