/rental_market_flutter

flutter dart front end mobile application for me to learn flutter

Primary LanguageDart

rental_market

A new Flutter project.

Testing

Run tests with:

flutter test

Development

For the purposes of native development, we will pretty much do everything on a simulated device.

The instructions for setting up such a device are different between Android and iOS.

In general, once we have setup our emulated devices, we can view and select them with:

flutter devices
flutter run -d deviceID

If we're unsure about the status of our native kits, we can always run:

flutter doctor

Run onto everything with the run command:

flutter run -d all

Android

  • Setup Android SDK

  • open android studios

  • start a project

  • open Tools > AVD manager

  • create a device locally

iOS

  • Setup Xcode

    • open xcode
    • start a project
    • add a device
  • View the list of available iOS devices:

xcrun simctl list
  • Install and launch a device
xcrun simctl install <YOUR-DEVICE-ID> <PATH-TO-APPLICATION-BUNDLE>
xcrun simctl launch <YOUR-DEVICE-ID> <BUNDLE-ID-OF-APP-BUNDLE>
  • Launch a simulator
open -a Simulator.app

Integration Testing

  1. Turn on an emulated phone

  2. Run the flutter drive command

flutter drive --target='test_driver/setup_sanity.dart'

Be sure to have the setup file and the test file have the same name plus test

Getting Started

For help getting started with Flutter, view our online documentation.

Dev Journal

During my development process, I will also be learning dart and flutter. Consult the journal/ directory for my running account of me doing everything