Skip to content

givtnl/flutter_pa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_app

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Installation instructions Flutter on Windhoos (Assuming you have already installed Android Studio)

// Install flutter

// Install Chocolatey

  • Open adminstrative shell (I used Powershell as adminstrator) - Run this command: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

// Install Darts

  • Run this command: choco install dart-sdk

// Finalizing setup

  • Lets check if we need any other platform dependencies - flutter doctor
  • You might need to pin point the Android Studio directory for flutter. - Run this command: flutter config --android-studio-dir "C:\Program Files\Android\Android Studio"
  • You might need to enable flutter for windows desktop. - Run this command: flutter config --enable-windows-desktop

// Project setup

  • Open the Flutter project in Android Studio - Go to File > Settings > Language & Frameworks - Select Dart - Enable Dart support for current project - Enter the Dart SDK location: C:\Users<your-user-name>\Documents\flutter\bin\cache\dart-sdk - Enable Dart for the project's modules - Select Flutter - Enter the Flutter SDK location: C:\Users<your-user-name>\Documents\flutter

// ** BUILD OPEN API MODELS **//

Make sure you have the docker image for open api:

docker pull openapitools/openapi-generator-cli:latest

Happy Developing!


/ | | | | | || | __ _ | | | | |/ ` / _| '
| | | | (
| _
\ | | | |
| ||_,|/| ||