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

discontinued

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,
                ),
              )

copied to clipboard
          // use TextEditingWatcher for disabling butting when text is empty
          TextEditingWatcher(
            controller: _controller,
            builder: (text) => RaisedButton(
              child: Text('submit'),
              onPressed: text.isNotEmpty ? () {} : null,
            ),
          )
copied to clipboard
1
likes
40
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.14 - 2025.03.29

A widget that rebuilds when text is changed in TextEditingController

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on text_editing_watcher