-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: modify home and add under construction page
- Loading branch information
Showing
13 changed files
with
242 additions
and
14 deletions.
There are no files selected for viewing
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,10 @@ | ||
import 'package:flutter/widgets.dart'; | ||
import 'package:go_router/go_router.dart'; | ||
|
||
import '../../../../core/bases/enum/button_type.dart'; | ||
import '../../../../core/bases/widgets/atoms/button.dart'; | ||
import '../../../../core/bases/widgets/layout/bebras_scaffold.dart'; | ||
import '../../../../core/constants/assets.dart'; | ||
import '../../../../core/theme/font_theme.dart'; | ||
|
||
part 'under_construction_page.dart'; |
49 changes: 49 additions & 0 deletions
49
lib/features/error/presentation/pages/under_construction_page.dart
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,49 @@ | ||
part of '_pages.dart'; | ||
|
||
class UnderConstructionPage extends StatefulWidget { | ||
const UnderConstructionPage({super.key}); | ||
|
||
@override | ||
State<UnderConstructionPage> createState() => _UnderConstructionPageState(); | ||
} | ||
|
||
class _UnderConstructionPageState extends State<UnderConstructionPage> { | ||
@override | ||
Widget build(BuildContext context) { | ||
return BebrasScaffold( | ||
body: Padding( | ||
padding: const EdgeInsets.all(32), | ||
child: Column( | ||
children: [ | ||
Image.asset( | ||
Assets.bebrasPandaiText, | ||
), | ||
const SizedBox( | ||
height: 60, | ||
), | ||
Text( | ||
'Maaf fitur ini sedang dalam perbaikan', | ||
style: FontTheme.blackTextBold(), | ||
), | ||
const SizedBox( | ||
height: 20, | ||
), | ||
Image.asset( | ||
Assets.logo, | ||
), | ||
SizedBox( | ||
width: 200, | ||
child: Button( | ||
text: 'Kembali', | ||
buttonType: ButtonType.primary, | ||
onTap: () { | ||
context.pop(); | ||
}, | ||
), | ||
) | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
# | ||
|
||
list(APPEND FLUTTER_PLUGIN_LIST | ||
url_launcher_linux | ||
) | ||
|
||
list(APPEND FLUTTER_FFI_PLUGIN_LIST | ||
|
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