Skip to content

Commit

Permalink
Merge aa62b7f into 6ba48ad
Browse files Browse the repository at this point in the history
  • Loading branch information
phanirithvij committed Jun 4, 2019
2 parents 6ba48ad + aa62b7f commit 44e076a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -8,15 +8,15 @@ It is possible to use NumberPicker as a standalone widget as well as in NumberPi
## Getting Started
#### Creating NumberPicker Widget

```
```dart
new NumberPicker.integer(
initialValue: 50,
minValue: 0,
maxValue: 100,
onChanged: _handleChange)
```
#### Creating NumberPickerDialog (use in material's showDialog method)
```
```dart
new NumberPickerDialog.decimal(
minValue: 1,
maxValue: 10,
Expand All @@ -27,7 +27,7 @@ See examples directory for full examples.

#### Standalone widget
![vertical](https://raw.githubusercontent.com/MarcinusX/NumberPicker/master/example/screenshots/gif_widget.gif)
```
```dart
class _MyHomePageState extends State<MyHomePage> {
int _currentValue = 1;
Expand Down Expand Up @@ -60,7 +60,7 @@ class _MyHomePageState extends State<MyHomePage> {

#### Dialog
![vertical](https://raw.githubusercontent.com/MarcinusX/NumberPicker/master/example/screenshots/gif_dialog.gif)
```
```dart
class _MyHomePageState extends State<MyHomePage> {
double _currentPrice = 1.0;
Expand Down

0 comments on commit 44e076a

Please sign in to comment.