-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from fleetimee/better_submit_pengajuan
feat: better submit pengajuan with loading
- Loading branch information
Showing
10 changed files
with
103 additions
and
56 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// 🐦 Flutter imports: | ||
import 'package:flutter/material.dart'; | ||
|
||
// 📦 Package imports: | ||
import 'package:lottie/lottie.dart'; | ||
import 'package:scaffold_gradient_background/scaffold_gradient_background.dart'; | ||
|
||
class SendScreen extends StatelessWidget { | ||
const SendScreen({super.key}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return ScaffoldGradientBackground( | ||
gradient: LinearGradient( | ||
begin: Alignment.topLeft, | ||
end: Alignment.bottomRight, | ||
colors: [ | ||
Colors.blue, | ||
Colors.blue.shade900, | ||
], | ||
), | ||
body: Align( | ||
alignment: Alignment.center, | ||
child: Container( | ||
padding: const EdgeInsets.all(32), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
mainAxisAlignment: MainAxisAlignment.center, | ||
children: [ | ||
const Center( | ||
child: Text( | ||
'Sedang Mengirim', | ||
textAlign: TextAlign.center, | ||
style: TextStyle( | ||
color: Colors.white, | ||
fontSize: 35, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
), | ||
Center( | ||
child: Lottie.asset( | ||
'assets/images/home/send.zip', | ||
frameRate: FrameRate.max, | ||
fit: BoxFit.cover, | ||
height: 200, | ||
repeat: true, | ||
errorBuilder: (context, error, stackTrace) { | ||
return const Text( | ||
'Gagal memuat animasi', | ||
style: TextStyle( | ||
color: Colors.red, | ||
), | ||
); | ||
}, | ||
), | ||
), | ||
const Center( | ||
child: CircularProgressIndicator( | ||
color: Colors.white, | ||
), | ||
), | ||
], | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} |
76c3778
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
infinite-impermanence – ./
infinite-impermanence.vercel.app
infinite-impermanence-git-master-fleetime.vercel.app
docs-akm.fleetime.my.id
infinite-impermanence-fleetime.vercel.app