Skip to content

BambooTuna/posttree

Repository files navigation

posttree

A new Flutter project.

Project

MVVM

Run on web

$ flutter run -d chrome --web-port=5000

Run on ios

$ open -a Simulator
$ flutter run
... take a long time

依存を追加する手順

$ dart pub add provider
  1. pubspec.yamlに追記する
dependencies:
  provider: ^3.1.0+1
  1. 更新する
$ flutter pub get

fmt

$ flutter format .

エラー一覧

A GlobalKey can only be specified on one widget at a time in the widget tree.

A GlobalKey can only be specified on one widget at a time in the widget tree.

The relevant error-causing widget was:
  MaterialApp file:///Users/s11604/IdeaProjects/bambootuna/posttree/lib/main.dart:11:12

ホットリロードではなく、もう一回flutter runしたらなおったw

firebase auth

google

IOS

GoogleService-Info.plistのREVERSED_CLIENT_IDをInfo.plistに書き込む

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    ...
	<key>CFBundleURLTypes</key>
    <array>
    	<dict>
    		<key>CFBundleTypeRole</key>
    		<string>Editor</string>
    		<key>CFBundleURLSchemes</key>
    		<array>
    			<string>com.googleusercontent.apps.??????????</string>
    		</array>
    	</dict>
    </array>
</dict>
</plist>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published