DiaryScreen constructor
- Key? key,
- required dynamic switchToPreview(),
- required dynamic switchToAddDiaryPage(),
- required dynamic switchToMapPage(),
- required dynamic switchToHome(),
Creates a DiaryScreen with navigation callbacks.
The switchToPreview
, switchToAddDiaryPage
, switchToMapPage
, and
switchToHome
parameters are required and define the behavior of the
corresponding action buttons and icons.
Implementation
const DiaryScreen({
super.key,
required this.switchToPreview,
required this.switchToAddDiaryPage,
required this.switchToMapPage,
required this.switchToHome,
});