text_balancer 0.1.6 copy "text_balancer: ^0.1.6" to clipboard
text_balancer: ^0.1.6 copied to clipboard

Flutter package that makes text more readable.

Flutter package that makes text more readable.
It works with fixed-width as well as variable-width fonts.

text balancer demo

How To Use #

/// Widget
TextBalancer('text');

/// Text Extension
Text('text').balance(
  context,
  maxWidth: constraints.maxWidth,
);

/// String Extension
'text'.balance(
  textStyle: textStyle,
  maxWidth: constrains.maxWidth,
)

Performance #

performance

  • Time complexity : n^2

References #

5
likes
130
points
67
downloads

Publisher

verified publisherdevstory.co.kr

Weekly Downloads

Flutter package that makes text more readable.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on text_balancer