https://github.com/rasitayaz/flutter-balanced-text
A Flutter widget that simply balances the lines of two-line text
https://github.com/rasitayaz/flutter-balanced-text
dart dart-package design flutter flutter-widget text
Last synced: 10 days ago
JSON representation
A Flutter widget that simply balances the lines of two-line text
- Host: GitHub
- URL: https://github.com/rasitayaz/flutter-balanced-text
- Owner: rasitayaz
- License: mit
- Created: 2022-07-28T16:36:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-10T16:28:32.000Z (over 2 years ago)
- Last Synced: 2025-06-13T11:57:08.135Z (20 days ago)
- Topics: dart, dart-package, design, flutter, flutter-widget, text
- Language: Dart
- Homepage:
- Size: 32.2 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.