Skip to content

Commit 105fde7

Browse files
committed
Updated README
1 parent 5047c44 commit 105fde7

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
# power_mode
1+
# Power Mode for Flutter Create 2019
22

3-
A new Flutter project.
3+
This project is inspired inspired by [Joel Besada's famous Power Mode plugin](https://twitter.com/JoelBesada/status/670343885655293952), and heavily dependent on [Norbert Kozsir's particles from `pimp_my_button` plugin](https://github.com/Norbert515/pimp_my_button).
44

5-
## Getting Started
5+
One of the best things about Flutter is that we have access to both low and high level widgets. The [`TextField`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/material/text_field.dart) widget didn't give me the option to find the cursor position, but after looking at the source code, I could see that it uses the [`EditableText`](https://github.com/flutter/flutter/blob/stable/packages/flutter/lib/src/widgets/editable_text.dart) as base, and that one had all the low level access that I needed.
66

7-
This project is a starting point for a Flutter application.
7+
With the cursor position sorted out, the rest of the work was to configure the particles and animations for every character typed.
88

9-
A few resources to get you started if this is your first Flutter project:
9+
## Instructions
1010

11-
- [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook)
11+
* [LICENSE](LICENSE) (MIT)
12+
* Channel: `stable` (v1.2.1 as per April 6th, 2019)
13+
* Platform: `iOS` and `Android`
14+
* NOTE: Because of the `HapticFeedback`, it's recommended to use iOS 10+ and Android API Level 23+, for best experience.
1315

14-
For help getting started with Flutter, view our
15-
[online documentation](https://flutter.io/docs), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
16+
## Demo
17+
18+
![power_mode_android](https://user-images.githubusercontent.com/723360/55664839-0c899480-5803-11e9-8fdf-c75704822c0d.gif)

0 commit comments

Comments
 (0)