text_editing_watcher 1.0.0

Flutter Android iOS web

A widget that rebuilds when text is changed in TextEditingController

text_editing_watcher #

A widget that rebuilds when text is changed in TextEditingController

Getting Started #

This simple widget can be used in order to rebuild other widgets based on changes in TextEditingController

              TextEditingWatcher(
                controller: _controller,
                builder: (text) => Text(
                  'You typed: $text',
                  textAlign: TextAlign.start,
                ),
              )

          // use TextEditingWatcher for disabling butting when text is empty
          TextEditingWatcher(
            controller: _controller,
            builder: (text) => RaisedButton(
              child: Text('submit'),
              onPressed: text.isNotEmpty ? () {} : null,
            ),
          )
0
likes
100
pub points
53%
popularity

A widget that rebuilds when text is changed in TextEditingController

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

morad@shimaatech.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on text_editing_watcher