Skip to content

Commit

Permalink
updating readme for clarity and consistency (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAskew authored Feb 10, 2020
1 parent 199afea commit 65a7231
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Flutter Animations Cheat Sheet
[![Codemagic build status](https://api.codemagic.io/apps/5d360a1b3b905a001cfaa874/5d360a1b3b905a001cfaa873/status_badge.svg)](https://codemagic.io/apps/5d360a1b3b905a001cfaa874/5d360a1b3b905a001cfaa873/latest_build)

List of animations and transitions that you can used in Flutter.
This is a list of animations and transitions that you can used in Flutter.

Available as a [webpage](https://flutter-animations-cheat-sheet.codemagic.app/#/).
The content of the page is [searchable](https://flutter-animations-cheat-sheet.codemagic.app/#/content).

# Building
Last tested version of Flutter that works with this repo is `v1.12.13+hotfix.5`:
Last tested `version` of Flutter that works with this repo is `v1.12.13+hotfix.5`:
* **Important**: Use `version` otherwise desktop won't be picked up: `v1.12.13+hotfix.5`

## Building for Web
Upgrade flutter to minimum `v1.12.13+hotfix.5`, enable web compilation and run:
Upgrade flutter version to at least `v1.12.13+hotfix.5`, enable web compilation and run:
```
flutter version v1.12.13+hotfix.5
flutter config --enable-web
Expand All @@ -24,15 +24,15 @@ Enable desktop builds by running in the terminal:
flutter config --enable-linux-desktop --enable-macos-desktop --enable-windows-desktop
```
### Linux
- Add the following to `.bash_profile` but replace `$HOME/flutter/` with path to your Flutter folder
- Add the following to `.bash_profile` replacing `$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"
```
### Mac
- Add the following to `.bash_profile` but replace `$HOME/flutter/` with path to your Flutter folder
- Add the following to `.bash_profile` replacing `$HOME/flutter/` with path to your Flutter folder.
```
# Add Flutter
export PATH="$PATH:$HOME/flutter/bin"
Expand All @@ -58,7 +58,7 @@ You might need to use `-d` to pick desktop if you have any other device connecte
OR

Open in your ide `flutter-animations`
In IntelliJ/VS Code select appropriate device via device picker and run tha app
In IntelliJ/VS Code select appropriate device via device picker and run the app.

# Running Flutter Driver tests on Desktop
Installing [fast_flutter_driver](https://github.com/tomaszpolanski/fast_flutter_driver) script:
Expand Down

0 comments on commit 65a7231

Please sign in to comment.