HomePageScaffold constructor

const HomePageScaffold({
  1. Key? key,
  2. required HomeState state,
  3. required List<Announcement> announcements,
  4. required bool isLogin,
  5. List<Widget>? actions,
  6. dynamic onTabTapped(
    1. int index
    )?,
  7. List<BottomNavigationBarItem>? bottomNavigationBarItems,
  8. Widget? drawer,
  9. Widget? content,
  10. Widget? floatingActionButton,
  11. String? title,
  12. dynamic onImageTapped(
    1. Announcement announcement
    )?,
  13. bool autoPlay = true,
  14. 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),
});