HomePageScaffold constructor
const
HomePageScaffold({
- Key? key,
- required HomeState state,
- required List<
Announcement> announcements, - required bool isLogin,
- List<
Widget> ? actions, - dynamic onTabTapped(
- int index
- Widget? drawer,
- Widget? content,
- Widget? floatingActionButton,
- String? title,
- dynamic onImageTapped(
- Announcement announcement
- bool autoPlay = true,
- Duration autoPlayDuration = const Duration(milliseconds: 5000),
Implementation
const HomePageScaffold({
super.key,
required this.state,
required this.announcements,
required this.isLogin,
this.actions,
this.onTabTapped,
this.bottomNavigationBarItems,
this.drawer,
this.content,
this.floatingActionButton,
this.title,
this.onImageTapped,
this.autoPlay = true,
this.autoPlayDuration = const Duration(milliseconds: 5000),
});