WIP
List of animations and transitions that you can used in Flutter.
Available as a webpage.
Last tested version of Flutter that works with this repo is 1.10.14
:
- Important: Use
version
otherwise desktop won't be picked up:1.10.14
Upgrade flutter to minimum 1.10.14
, enable web compilation and run:
flutter version 1.10.14
flutter config --enable-web
flutter run -d chrome -v
Enable desktop builds by running in the terminal:
flutter config --enable-linux-desktop --enable-macos-desktop --enable-windows-desktop
- Add the following to
.bash_profile
but replace$HOME/flutter/
with path to your Flutter folder
# Add Flutter
export PATH="$PATH:$HOME/flutter/bin"
# Add Dart
export PATH="$PATH:$HOME/flutter/bin/cache/dart-sdk/bin"
- Add the following to
.bash_profile
but replace$HOME/flutter/
with path to your Flutter folder
# Add Flutter
export PATH="$PATH:$HOME/flutter/bin"
# Add Dart
export PATH="$PATH:$HOME/flutter/bin/cache/dart-sdk/bin"
- Update CocoaPods:
brew upgrade cocoapods
pod setup
gem install cocoapods
- Install Visual Studio Community 2019 with Desktop development with C++. Make sure that those components are installed:
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.23)
Windows 10 SDK (10.0.17763.0)
Enter flutter-animations
in your terminal and run flutter run
.
You might need to use -d
to pick desktop if you have any other device connected.
OR
Open in your ide flutter-animations
In IntelliJ/VS Code select appropriate device via device picker and run tha app
flutter packages get
dart .\lib\tests\test.dart -r 800x800
flutter packages get
dart ./lib/tests/test.dart -r 800x800