code FLUTTER notes # getting started ## installation flow run in cmd (admin) @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" run in cmd choco install dart-sdk run in cmd choco install flutter ## setup the editor VSCode https://docs.flutter.dev/get-started/editor?tab=vscode - Invoke View > Command Palette…. - Type “install”, and select Extensions: Install Extensions. - Type “flutter” in the extensions search field, select Flutter in the list, and click Install. This also installs the required Dart plugin ## related links - https://chocolatey.org/install - https://docs.chocolatey.org/en-us/choco/setup#more-install-options - https://dart.dev/get-dart - Flutter (800mo) : https://altotunchitoo.me/p/install-flutter-like-a-pro - some command lines : https://docs.flutter.dev/get-started/install/windows - first app : https://docs.flutter.dev/get-started/codelab - Flutter:Layout : https://pub.dev/packages/layout/install # Dart - Cheatsheet : https://dart.dev/codelabs/dart-cheatsheet - Hello world : https://www.tutorialspoint.com/dart_programming/dart_programming_quick_guide.htm ## tutorials - https://www.javatpoint.com/flutter-architecture - https://www.bezkoder.com/dart-flutter-constructors/ - routes : https://www.geeksforgeeks.org/flutter-animation-in-route-transition/ # flutter:examples @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("Clients")), body: ListView( padding: const EdgeInsets.fromLTRB(3.0, 12.0, 3.0, 12.0), children: [ ClientView(name: "client A", adresse: "address"), //ProductBox(name: "Laptop", description: "description", image: "piggy"), //ProductBox(name: "Laptop", description: "description"), //ClientView(name: "client B", adresse: "address"), ], )); } # Troubleshoot flutter doctor license issue https://stackoverflow.com/questions/60475481/flutter-doctor-error-android-sdkmanager-tool-not-found-windows # flutter.medias Image(image:NetworkImage(URL)) # Tutorials https://www.youtube.com/watch?v=Hxh6nNHSUjo