DashboardTemplate constructor
const
DashboardTemplate({
- Key? key,
- required Widget body,
- String? title,
- VoidCallback? onTapBack,
- VoidCallback? onTapBag,
- VoidCallback? onTapMenu,
- Widget? lateralMenu,
- 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);