mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 20:52:32 +00:00
* (new): [MacOS] Add LunaSea icon * (new): [Scaffold] Use LunaScaffold across application * (tweak): [theme]: Add hover colour to theme * (fix): [Platform] Add platform checks and platform availability checks to Firebase Analytics & IAPs * (fix): [MacOS] Ensure all deployment targets are 10.12 (Sierra) * (fix): [MacOS] Correctly set the application name's capitalization * (chore): Updated packages
16 lines
446 B
Dart
16 lines
446 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,
|
|
onRefresh: onRefresh,
|
|
child: child,
|
|
);
|
|
}
|