-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a74724
commit fb61fa5
Showing
5 changed files
with
99 additions
and
142 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
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 |
---|---|---|
@@ -1,35 +1,15 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import 'constants.dart'; | ||
import 'foot_note.dart'; | ||
import 'header_lead.dart'; | ||
import 'header_title.dart'; | ||
import 'message_fab.dart'; | ||
import 'projects_list.dart'; | ||
import 'scaffold_gradient.dart'; | ||
import 'top_menu_entry.dart'; | ||
import 'sub_page.dart'; | ||
|
||
class ProjectsPage extends StatelessWidget { | ||
const ProjectsPage({super.key}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Container( | ||
decoration: scaffoldGradient(context), | ||
child: Scaffold( | ||
bottomNavigationBar: const FootNote(), | ||
backgroundColor: Colors.transparent, | ||
floatingActionButton: const MessageFab(), | ||
appBar: AppBar( | ||
backgroundColor: Colors.transparent, | ||
toolbarHeight: kToolBarHeight, | ||
leadingWidth: kLeadingWidth, | ||
leading: const HeaderLead(), | ||
title: const HeaderTitle(), | ||
actions: createTopMenu(context), | ||
), | ||
body: const ProjectsList(), | ||
), | ||
return const SubPage( | ||
body: ProjectsList(), | ||
); | ||
} | ||
} |
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,38 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import 'constants.dart'; | ||
import 'foot_note.dart'; | ||
import 'header_lead.dart'; | ||
import 'header_title.dart'; | ||
import 'message_fab.dart'; | ||
import 'scaffold_gradient.dart'; | ||
import 'top_menu_entry.dart'; | ||
|
||
class SubPage extends StatelessWidget { | ||
const SubPage({super.key, required this.body}); | ||
|
||
final Widget body; | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Container( | ||
decoration: scaffoldGradient(context), | ||
child: Scaffold( | ||
bottomNavigationBar: const FootNote(), | ||
backgroundColor: Colors.transparent, | ||
appBar: AppBar( | ||
backgroundColor: Colors.transparent, | ||
toolbarHeight: kToolBarHeight, | ||
leadingWidth: kLeadingWidth, | ||
leading: const HeaderLead( | ||
insertBackButton: true, | ||
), | ||
title: const HeaderTitle(), | ||
actions: createTopMenu(context), | ||
), | ||
body: body, | ||
floatingActionButton: const MessageFab(), | ||
), | ||
); | ||
} | ||
} |