When the app is completed, users will interact with two screens: a list of event details, which is the program of the event, and a second screen for authentication.
We'll now create the event detail screen, as follows:
- First, let's create a new folder in the lib folder of the app, called screens.
- Next, we'll add a new file to the screens folder, called event_screen.dart.
- In the event_screen.dart file, let's import the material.dart library, and then create a stateless widget called EventScreen, as shown in the following code block:
import 'package:flutter/material.dart';class EventScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Container( ); }}
- In the build() method ...