flutter/examples/api/lib/material/refresh_indicator
Pavlo Kochylo a4b0d973fb
Added new constructor RefreshIndicator.noSpinner() (#152075)
This PR adds a new constructor to the RefreshIndicator's class, which is `noSpinner`.
The purpose of this new constructor is to create a RefreshIndicator that doesn't show a spinner when the user arms it by pulling.

The work is based on a partial that is here: https://github.com/flutter/flutter/pull/133507

I addressed the following issues reported in the PR above:
- in the example for `noSpinner`, arming the RefreshIndicator now shows a CircularProgressIndicator, instead of just printing text to the console;
- added a test for the new example;
- added a doc comment on the new constructor;

Fixes https://github.com/flutter/flutter/issues/132775
2024-08-23 20:37:24 +00:00
..
refresh_indicator.0.dart Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
refresh_indicator.1.dart Refactor refresh_indicator.1.dart to not use shrinkwrap (#129377) 2023-07-11 20:04:17 +00:00
refresh_indicator.2.dart Added new constructor RefreshIndicator.noSpinner() (#152075) 2024-08-23 20:37:24 +00:00