diff --git a/CHANGELOG.md b/CHANGELOG.md index 01618c8..d4c3240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,4 +18,8 @@ pre-release version ## 0.1.0 * Refactor main logic -* Check overflow in all areas horizontally and vertically \ No newline at end of file +* Check overflow in all areas horizontally and vertically + +## 1.0.0 + +* Update "How to Use" in README.md \ No newline at end of file diff --git a/README.md b/README.md index 7a6c614..4e92082 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Size the text to the size of the parent widget. It's similar to using a typical Text Widget. Inputable arguments are left open the same as the arguments in Text Widget. ~~~ + final text = "Strings Strings..."; final style = TextStyle( ... @@ -18,13 +19,72 @@ final style = TextStyle( color: Colors.balck, ... ); -const SizeTailoredText( - text: text, - textStyle: style, +SizeTailoredText( + ... + text, + width: 200, + height: 200, + style: style, maxLines: 5, -); + minFontSize: 1, + textAlign: TextAlign.left, + ... +), + ~~~ +## Example + +
+ + | +
+
+ |
+
+ + | +
+
+ |
+