---
# System prepended metadata

title: 『Flutter』IDE快速開發
tags: [Flutter]

---

# 『Flutter』IDE快速開發
###### tags: `Flutter`

## 更多教學

Flutter

Win
https://medium.com/flutter-community/flutter-ide-shortcuts-for-faster-development-2ef45c51085b
Mac
https://medium.com/coding-with-flutter/flutter-my-favourite-keyboard-shortcuts-63f6474afc8c

Android studio
http://android-filght-diary.blogspot.com/2017/01/android-studio-30.html

## 快速排版 
Mac option+command+L

stless

```=
class  extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
```

stful

```=
class  extends StatefulWidget {
  @override
  _State createState() => _State();
}

class _State extends State<> {
  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
```


StatelessWidget 自動轉 StatefulWidget
```=
Alt +Enter   ->   Convert to StatefulWidget
```

