From 4e359eed4e13f842da60ac000555672789518f80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jes=C3=BAs=20Rodr=C3=ADguez?=
Date: Sun, 28 Apr 2019 20:30:45 +0200
Subject: [PATCH] Update README.md
---
README.md | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 1d538f5..3ef1695 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ As the baseline widget, there's the `RowItem` widget. It offers a multitude of o
+
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.
@@ -26,14 +27,24 @@ This library offers ways to separate this and other interface elements, using th
-
-
-
-
-
-
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: [
+ 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.