24 lines
738 B
Dart
24 lines
738 B
Dart
// Label StoreMax
|
|
//
|
|
// Created by Anthony Gordon.
|
|
// 2022, WooSignal Ltd. All rights reserved.
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_spinkit/flutter_spinkit.dart';
|
|
|
|
class AppLoaderWidget extends StatelessWidget {
|
|
const AppLoaderWidget({Key key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
bool isDark = (Theme.of(context).brightness == Brightness.dark);
|
|
return SpinKitDoubleBounce(
|
|
color: Color(!isDark ? 0xFF424242 : 0xFFC7C7C7));
|
|
}
|
|
}
|