growable_text 0.0.5 copy "growable_text: ^0.0.5" to clipboard
growable_text: ^0.0.5 copied to clipboard

A text widget that will grow to fill the width of it's parent.

growable_text #

A text widget that will grow to fill the width of it's parent.

Features #

With GrowableText

With Text

Getting started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  growable_text: ^0.0.1

Proceed with the following command from within your project directory:

flutter pub get

In your code add the following import:

import 'package:growable_text/growable_text.dart';

Usage #

Let your GrowableText take up the available width provided by the parent. This piece of code renders the following UI:

    Container(
        color: Colors.blue,
        width: 200,
        child: GrowableText('Hello World!'),
    ),

With GrowableText

Contributing #

Feel free to contribute to this project.

If you find a bug but don't know how to fix it, please create an issue. If you fixed a bug or implemented a feature, please make a pull request.

2
likes
150
points
23
downloads

Publisher

verified publishercastel.se

Weekly Downloads

A text widget that will grow to fill the width of it's parent.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on growable_text