Create Screen
fun CreateScreen(navController: NavController, controllers: AppControllers, showMap: Boolean = true)
Create Screen for creating a new campsite and associated lottery.
Requires three sets of information to create:
Basic Info: Enter the campsite name, description, maximum occupancy, tags, and photos.
Location: Select a location on an interactive map and enter the campsite address and postal code.
Lottery: Enter lottery dates, registration dates, number of spots, eligibility, and additional rules.
Selecting "Done" creates a campsite and an associated lottery using AppControllers, then navigates to the home screen.
Parameters
nav Controller
The navigation controller for navigating between screens.
controllers
AppControllers holding campsites, lotteries, and user data.
show Map
Whether to display the interactive location map. Defaults to true.