forked from rasitayaz/flutter-balanced-text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md
20 lines (12 loc) · 827 Bytes
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Flutter Balanced Text ⚖️
[](https://pub.dartlang.org/packages/balanced_text)
[](https://github.com/rasitayaz)
[](https://www.buymeacoffee.com/RasitAyaz)
A Flutter widget that simply balances the lines of two-line text, especially useful on long titles or short descriptions.

Does not differ from the `Text` widget if the text fits into a single line, or exceeds two lines.
## Usage
```dart
BalancedText('The quick brown fox jumps over the lazy dog');
```
You can also pass properties like `style`, `maxLines`, `textAlign` etc.