max_size_text 1.0.10 copy "max_size_text: ^1.0.10" to clipboard
max_size_text: ^1.0.10 copied to clipboard

outdated

Maximize size of Flutter text given available real-estate, with the intention of filling a space.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:max_size_text/max_size_text.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
        home: SafeArea(
            child: Scaffold(
                body: Center(
                    child: MaxSizeText(
                        text:
                            'The Courage to Be Disliked: The Japanese Phenomenon That Shows You How to Change Your Life and Achieve Real Happiness',
//                        '404: /phone',
                        textStyle: new TextStyle(
                            color: Colors.red[800],
                            fontSize: 32,
                            fontFamily: 'Roboto'))))));
  }
}
1
likes
40
pub points
25%
popularity

Publisher

verified publisheronlyup.com

Maximize size of Flutter text given available real-estate, with the intention of filling a space.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on max_size_text