/Bonsai

Primary LanguageDart

Bonsai

Flutter instalation

If you are using Apple Silicon Mac

$ sudo softwareupdate --install-rosetta --agree-to-license

Install the Flutter SDK

$ cd
$ mkdir development
$ cd development
$ unzip ~/Downloads/flutter_macos_3.3.2-stable.zip

Update PATH

$ vim $HOME/.zshrc

Add the following line

export PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"

Reopen terminal to apply changes or run next command

$ source $HOME/.zshrc

Install Xcode

Configure Xcode

$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
$ sudo xcodebuild -runFirstLaunch

Flutter plugins

$ sudo gem install cocoapods

If you are using Apple Silicon Mac run next command additionally

$ sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc

Open Simulator

$ open -a Simulator

Go to File->Open Simulator->Iphone 11

Run the app

$ cd bonsai
$ flutter run 

Used plugins

Video example

example.mp4