Files
lunasea/lib/core/ui/loader.dart
Jagandeep Brar 225f5f95f6 [Release] v5.0.0 (50000012) (#362)
NEW
- [Radarr/Files] Add video and audio codec to the media file card
- [Search] Now supports infinite scrolling for loading additional pages of results
- [Search] Much faster parsing of XML responses
- [Search] Fully adapted for localization

TWEAKS
- [Search] Now returns 50 results per infinite scrolling page
- [Search] Removed support for sorting the catalogue and instead show the results in the order the indexer returns the data
- [Search] Removed support for filtering releases by a search query
- [Search] Minor tweaks to the icons on the indexer, category, and subcategory tiles

FIXES
- [Search] Search would only return 10 results
- [Search] Age of the release could show as "Unknown Age" in some cases
2021-03-08 21:04:43 -06:00

35 lines
929 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
import 'package:lunasea/core.dart';
class LunaLoader extends StatelessWidget {
final double size;
final Color color;
final bool useSafeArea;
LunaLoader({
Key key,
this.size = 25.0,
this.color,
this.useSafeArea = true,
}): super(key: key);
@override
Widget build(BuildContext context) => SafeArea(
left: useSafeArea,
right: useSafeArea,
top: useSafeArea,
bottom: useSafeArea,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
SpinKitThreeBounce(
color: color != null ? color : LunaColours.accent,
size: size,
),
],
),
);
}