DashboardTemplate constructor

const DashboardTemplate({
  1. Key? key,
  2. required Widget body,
  3. String? title,
  4. VoidCallback? onTapBack,
  5. VoidCallback? onTapBag,
  6. VoidCallback? onTapMenu,
  7. Widget? lateralMenu,
  8. num bagBadge = 0,
})

Creates a DashboardTemplate.

The body parameter is required. The other parameters are optional and provide various customization options.

Implementation

const DashboardTemplate({
  Key? key,
  required this.body,
  this.title,
  this.onTapBack,
  this.onTapBag,
  this.onTapMenu,
  this.lateralMenu,
  this.bagBadge = 0,
}) : super(key: key);