發新話題
打印

[Flutter] ** Flutter Kick Start Guide

** Flutter Kick Start Guide

TOP

TOP


TOP

Flutter Examples ================ This directory contains several examples of using Flutter. To run an example, use `flutter run` inside that example's directory. See the [getting started guide](https://flutter.dev/getting-started/) to install the `flutter` tool. For additional samples, see the [`flutter/samples`](https://github.com/flutter/samples) repo. Available examples include: - **Hello, world** The [hello world app](hello_world) is a minimal Flutter app that shows the text "hello, world." - **Flutter gallery** The [flutter gallery app](flutter_gallery) showcases Flutter's widgets, including its implementation of [material design](https://material.io/design/). - **Layers** The [layers vignettes](layers) show how to use the various layers in the Flutter framework. For details, see the [layers README](layers/README.md). - **Platform Channel** The [platform channel app](platform_channel) demonstrates how to connect a Flutter app to platform-specific APIs. For documentation, see <https://flutter.dev/platform-channels/>. - **Platform Channel Swift** The [platform channel swift app](platform_channel_swift) is the same as [platform channel](platform_channel) but the iOS version is in Swift and there is no Android version. ## Notes [ 本帖最後由 Trump 於 2019-10-11 09:49 編輯 ]
I am the chosen one to pick on China!

TOP

TOP

In order to run your sample application, type: $ cd . $ flutter run Your sample application code is in ./lib/main.dart.

TOP

TOP

https://www.toptal.com/flutter/flutter-tutorial



Flutter Share plug-in

[ 本帖最後由 Net 於 2019-12-13 22:54 編輯 ]

TOP



symptom
library in visual studio was not loaded
Check 
/dev/kvm

:~$ ls -al /dev/kvm
crw------- 1 root root 10, 232 Dec 17 20:03 /dev/kvm
:~$ grep kvm /etc/group
:~$ grep kvm /etc/group
:~$ sudo adduser $me kvm
Adding user `kvm' ...
Adding new group `kvm' (1002) ...
Adding new user `kvm' (1001) with group `kvm' ...
Creating home directory `/home/kvm' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: 

Retype new UNIX password: 
passwd: password updated successfully
Changing the user information for kvm
Enter the new value, or press ENTER for the default
Full Name []: 
Room Number []: 
Work Phone []: 
Home Phone []: 
Other []: 
Is the information correct? [Y/n] y
me@Sun72:~$ 



[ 本帖最後由 Net 於 2019-12-17 21:38 編輯 ]

TOP

This is how I got it to work in Ubuntu 18.04

sudo apt install qemu-kvm

Add your user to kvm group using:

sudo adduser <Replace with username> kvm

If still showing permission denied:

sudo chown <Replace with username> /dev/kvm

Try it.

TOP

發新話題