Files
lunasea/lib/core/ui/loader.dart
Jagandeep Brar 6b60fda2fa [TestFlight] v4.0.0+400001 (#240)
NEW
- [Tautulli] View Activity
- [Tautulli] View activity details
- [Tautulli] View list of users
- [Tautulli] Ability to backup configuration & database
- [Tautulli] Ability to delete cache & image cache
- [Drawer] Ability to set the initial expanded state of categories (automation, clients, & monitoring)

TWEAKS
- [UI/Loader] New loading indicator
- [Home/Calendar] Separate calendar view type into its own preference
- [Home/Calendar] Show no modules enabled message when there are no automation modules enabled, not just no modules overall

FIXES
- [Profiles] Safeguarded fetching of enabled module
2020-08-24 04:06:00 -05:00

27 lines
684 B
Dart

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