Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Commit 18f80db

Browse files
author
Carlos Mion
committed
added readme
1 parent e1c28d4 commit 18f80db

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

README.md

+19-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,28 @@
22

33
An easy to use, complete text input brought to you by Brainn.co
44

5-
## Getting Started
5+
### Installation
6+
7+
Add this to your pubspec.yaml (or create it):
8+
9+
```yaml
10+
dependencies:
11+
easy_text_input: ^1.0.0
12+
```
13+
14+
Then run the flutter tooling:
15+
16+
```bash
17+
flutter packages get
18+
```
19+
20+
## Demo
21+
22+
![demo](https://github.com/CarlosMion/Gifs-and-Images/blob/master/easyTextInput.gif)
623

724
## How to use
825

9-
You will need a Bloc with a stream to controll the data flowing through the InputField, for a better explanation please check the example folder.
26+
You will need a Bloc with a stream to controll the data flowing through the InputField, for a better explanation on how blocs work please check the example folder.
1027

1128
#### Simple Field
1229

example/lib/screens/example_screen.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ExampleScreenState extends State<ExampleScreen> {
6060
InputField(
6161
stream: exampleBloc.phone,
6262
labelText: 'Phone',
63-
obscureText: true,
63+
obscureText: false,
6464
onChanged: exampleBloc.sinkPhone,
6565
controller: MaskedTextController(mask: '(00) 00000-00000'),
6666
hintText: '(31) 91234-5678',

0 commit comments

Comments
 (0)