Let's summarize the requirements for this app, as follows:
- The app must work for iOS, Android, and the web.
- The favorite books need to be saved locally.
- Depending on the screen size, we will show the user a different layout.
As of Flutter version 1.14, web development for Flutter is available in the beta channel, and you need to set up the environment to explicitly enable web support. However, please check if this is still true when you read this information on the official documentation page at https://flutter.dev/web.
The cli commands required to add web support to your environment are detailed as follows:
- Open your Terminal/command prompt and type the following commands to enable the beta channel and web development:
flutter channel beta
flutter config --enable-web
- Run the flutter devices command, as follows:
flutter...