17 lines
408 B
Dart
17 lines
408 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:manager_app/Components/loader_animated_pieces.dart';
|
|
|
|
class CommonLoader extends StatelessWidget {
|
|
final double? iconSize;
|
|
|
|
const CommonLoader({Key? key, this.iconSize}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final size = iconSize ?? 60;
|
|
return Center(
|
|
child: LoaderWaveFloat(size: size),
|
|
);
|
|
}
|
|
}
|