mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 20:52:32 +00:00
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
27 lines
684 B
Dart
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,
|
|
),
|
|
],
|
|
);
|
|
}
|