text_editing_watcher 0.0.1 copy "text_editing_watcher: ^0.0.1" to clipboard
text_editing_watcher: ^0.0.1 copied to clipboard

discontinued
outdated

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: (context, text) => Text(
                  'You typed: $text',
                  textAlign: TextAlign.start,
                ),
              )

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

Publisher

unverified uploader

A widget that rebuilds when text is changed in TextEditingController

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on text_editing_watcher