feat(ui,train): a pull far enough to refresh ticks, lightly, as the navigation does
AppRefreshIndicator ticks (selectionClick, as a choice on the floating bar or the rail) once the pull commits: as it snaps back to refresh, or as it refreshes at once, whichever comes first, and not for a pull let go too early. Train's list of days pulled to read the band used Flutter's own RefreshIndicator, the older spinner; it takes the app's now, and the tick with it. Whats-New: Pulling a list down to refresh ticks lightly. Whats-New-De: Eine Liste zum Aktualisieren herunterziehen gibt ein leichtes Tippen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
4239a1de24
commit
bcbefe38a3
1 changed files with 62 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ class const DaysList({super.key}) extends StatelessWidget {
|
|||
if (!state.holdsLoop) {
|
||||
return list;
|
||||
}
|
||||
return RefreshIndicator(
|
||||
return AppRefreshIndicator(
|
||||
onRefresh: () => context.read<DaysCubit>().readBand(),
|
||||
child: list,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue