https://flutter.dev/docs/get-started/install
Acquire google-services.json
for Android and GoogleService-Info.plist
for iOS and move them into these directories:
app/android/app/google-services.json
app/ios/Runner/GoogleService-Info.plist
Do not commit them to Git.
master
master
is a protected branch, you can only push changes to master by creating a pull request from another branch and having it approvedmaster
branch will only have stable versions/lib/screens/
and add a corresponding route in /lib/routes.dart
/lib/widgets
/lib/screens/<screen>/widgets
/lib/screens/<screen>/pages
Theme.of(context).primaryColor
DefaultTextStyle.of(context).style.apply(fontSizeFactor: 2.0)
instead of magic numbersclass MyWidget extends StatelessWidget {
MyWidget({Key key}) : super(key: key);
}