SpaceX missions is a mobile application that let the user search for SpaceX missions in the following API. https://api.spacex.land/graphql
Clone the repository:
git clone https://github.com/FilippoZazzeroni/SpaceX-missions.git
Enter project's directory:
cd SpaceX-missions
Get the dependencies:
flutter pub get
Now select the device you wish to run the application on, by coping its id that you can get it on terminal by running:
flutter devices
2 connected devices:
iPhone 12 Pro Max (mobile) • 6F4BE843-7331-4A62-A759-EE4BF7E12B84 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114
The id of the device is the second value of each row.
Now run the application, by excecuting:
flutter run -d <deviceId>