Flutter Dockerο
Build apps for any screen
Installο
Windows installο
git clone https://github.com/flutter/flutter.git -b stable
# Path append C:\path-to-flutter-sdk\bin
flutter --version
Run flutter doctorο
flutter doctor
Flutter Examplesο
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
flutter config --enable-web
Hello, worldο
The hello world app is a minimal Flutter app that shows the text βhello, world.β
flutter run -d chrome
flutter run lib/arabic.dart -d chrome
Flutter galleryο
Flutter Gallery is a resource to help developers evaluate and use Flutter
Demoο
https://gallery.flutter.dev/
git clone https://github.com/flutter/gallery.git
flutter pub get
flutter run
Layersο
The layers vignettes show how to use the various layers in the Flutter framework.
flutter run raw/spinning_square.dart -d chrome
flutter run rendering/spinning_square.dart -d chrome
flutter run widgets/spinning_square.dart -d chrome
Platform Channelο
The platform channel app demonstrates how to connect a Flutter app to platform-specific APIs.
flutter run -d chrome
Dockerο
docker run --rm -it -v ${PWD}:/build --workdir /build cirrusci/flutter:stable flutter test