Being made using flutter.
Download the flutter SDK from the sources below
- Follow the official docs to download flutter and set up Android Studio
- In the official docs, the editor used is Android Studio, but VSCode can also be used.
- Few sample apps are bundled along when you download flutter. You can try running those first to see if the editor and flutter are all set up fine.
A few resources to get you started and give a basic understanding with examples of how flutter works:
For help getting started with Flutter, view online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- Open the stopstalk_app folder in Android Studio.
- It will detect that execution will begin at the main.dart file (present inside the lib folder).
- Download an android emulator in the android studio or connect it to your phone(in debug mode) to run the app.
- Copy .env.sample to .env
- When the app builds for the first time it might take a while for it to get launched.
- All the code that we have to work with is present in the lib folder.
- To install any additional packages, first write its name under dependencies in file "pubspec.yaml". Then, run the command
flutter pub get
. The packages will be installed. - To upgrade any package version, run the command
flutter pub upgrade
. - The screens folder contains the basic layout of each individual page. We add more widgets and make up the UI of the page.
- The widgets folder has individual widgets which can be used on multiple pages or are large in size and would reduce the readabilty and make a single page's code too long.
- Before making a pull request, format the code with
Ctrl+Alt+L
. Add a comma after all the closing brackets as it will help the IDE in aligning the brackets and formatting the code. For more on this checkout Code Formatting .