Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusrp98 authored Apr 28, 2019
1 parent 7376979 commit 4e359ee
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ As the baseline widget, there's the `RowItem` widget. It offers a multitude of o
<img src="https://raw.githubusercontent.com/jesusrp98/row_collection/master/screenshots/1.png" width="415" hspace="8">
</p>


This library offers ways to separate this and other interface elements, using the already-implemented `Separator` class:
* **Spacers:** This kind of elements helps to separate UI elements, such as `RowItem` widgets.
* **Dividers:** Helpful when you want to emphasize separation between sections.
Expand All @@ -26,14 +27,24 @@ This library offers ways to separate this and other interface elements, using th
<img src="https://raw.githubusercontent.com/jesusrp98/row_collection/master/screenshots/3.png" width="415" hspace="8">
</p>

<p align="center">
<img src="https://raw.githubusercontent.com/jesusrp98/spacex-go/master/screenshots/0.png" width="256" hspace="8">
<img src="https://raw.githubusercontent.com/jesusrp98/spacex-go/master/screenshots/1.png" width="256" hspace="8">
<img src="https://raw.githubusercontent.com/jesusrp98/spacex-go/master/screenshots/2.png" width="256" hspace="8">
</p>

Both kind of widgets (`RowItem` & `Separator`) offer ways to be customizable. For instance, you can use the `style` parameter in the `RowItem` widgets to select a custom text theme.

## Example
Here is an example of a simple use of this package. If you want to take a deeper look at the example, take a look at the [example/](https://github.com/jesusrp98/row_collection/tree/master/example) folder provided with the project.
```
Column(
children: <Widget>[
RowItem.text('English', 'Hello'),
Separator.spacer(),
RowItem.text('Español', 'Hola'),
Separator.divider(),
RowItem.text('English', 'Bye'),
Separator.spacer(),
RowItem.text('Español', 'Adiós'),
],
),
```

## Getting Started
This project is a starting point for a Dart [package](https://flutter.io/developing-packages/), a library module containing code that can be shared easily across multiple Flutter or Dart projects.

Expand Down

0 comments on commit 4e359ee

Please sign in to comment.