Added logo and loading widget

This commit is contained in:
Patrick Alvin Alcala 2026-02-19 09:43:28 +08:00
parent 9268a3337d
commit 5566610020
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,28 @@
import 'package:flutter/material.dart';
import 'package:gap/gap.dart';
import 'package:loading_animation_widget/loading_animation_widget.dart';
import 'package:ocbo_esign_mobile/widgets/text_widget.dart';
class LoadingWidget extends StatelessWidget {
final String? text;
const LoadingWidget({super.key, this.text});
@override
Widget build(BuildContext context) {
return Center(
child: Column(
children: [
LoadingAnimationWidget.discreteCircle(
color: const Color.fromRGBO(164, 168, 229, 0.8),
secondRingColor: const Color.fromRGBO(141, 145, 210, 0.8),
thirdRingColor: const Color.fromRGBO(117, 123, 204, 0.8),
size: 60,
),
const Gap(16),
TextWidget(text: text ?? '', size: 16, bold: true),
],
),
);
}
}