Files
lunasea/lib/core/ui/refresh_indicator.dart
Jagandeep Brar 2d2e56c99f new(overseerr): User list for Overseerr (#477)
* fix(feature flags): Added module extension internal feature flagging for modules
* new(Overseerr): Ability to test connection against status endpoint
* fix(scripts): Path was not split correctly on windows machines for generating localizations
* fix(localization): Update localizations
* fix(theme): Remove deprecated use of accentColor
* new(overseerr): Stubs for requests and users home routes
* fix(ui): Make padding around the end of infinite list loaders and icons more consistent
* new(locale): New localization strings
* new(overseerr): Implemented user list
2021-07-19 15:48:15 -05:00

17 lines
495 B
Dart

import 'package:flutter/material.dart';
class LunaRefreshIndicator extends RefreshIndicator {
LunaRefreshIndicator({
GlobalKey<RefreshIndicatorState> key,
@required BuildContext context,
@required Future<void> Function() onRefresh,
@required Widget child,
}) : super(
key: key,
backgroundColor: Theme.of(context).primaryColor,
color: Theme.of(context).colorScheme.secondary,
onRefresh: onRefresh,
child: child,
);
}