Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

back arrow and title updated #348

Merged
merged 4 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/ChatBotPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ class _ChatBotPageState extends State<ChatBotPage> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('ChatBot'),
),
body: Column(
Expand Down
6 changes: 6 additions & 0 deletions lib/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ class AboutScreen extends StatelessWidget {
);
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: Text('About App'),
),
body: Padding(
Expand Down
1 change: 1 addition & 0 deletions lib/bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class AppBarWidget extends StatelessWidget implements PreferredSizeWidget {

return Scaffold(
appBar: AppBar(
centerTitle: true,
title: Text(
'OpSo',
style: TextStyle(
Expand Down
1 change: 1 addition & 0 deletions lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class _HomePageState extends State<HomePage> {
final double SizedSize = ScreenUtil().setHeight(20);
return Scaffold(
appBar: AppBar(
centerTitle: true,
title: Text(
'OpSo',
style:
Expand Down
6 changes: 6 additions & 0 deletions lib/learning_path.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ class LearningPathPage extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('GitHub Workflow'),
),
body: Padding(
Expand Down
6 changes: 6 additions & 0 deletions lib/opso_timeline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ class OpsoTimeLineScreen extends StatelessWidget {

return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Open-Source Timeline of 2024'),
),
body: Padding(
Expand Down
6 changes: 6 additions & 0 deletions lib/programs screen/fossasia.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ class _FOSSASIAState extends State<FOSSASIA> {
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('FOSSASIA Codeheat'),
actions: <Widget>[
IconButton(
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/girl_script.dart
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,14 @@ class _GSSOCScreenState extends State<GSSOCScreen> {
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(title: const Text('GSSoC'), actions: <Widget>[
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('GSSoC'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
6 changes: 6 additions & 0 deletions lib/programs screen/github_campus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ class _GithubCampusState extends State<GithubCampus> {
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Github Campus Expert'),
actions: <Widget>[
IconButton(
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/google_season_of_docs_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,14 @@ class _GoogleSeasonOfDocsScreenState extends State<GoogleSeasonOfDocsScreen> {
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(title: const Text('GSoD'), actions: <Widget>[
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('GSoD'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
11 changes: 11 additions & 0 deletions lib/programs screen/google_summer_of_code_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,21 @@ class _GoogleSummerOfCodeScreenState extends State<GoogleSummerOfCodeScreen> {
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('GSoC'),
actions: <Widget>[IconButton(

appBar: AppBar(
title: const Text('Google Summer of Code'),
actions: <Widget>[
IconButton(

icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
: const Icon(Icons.bookmark_add_outlined),
Expand Down
6 changes: 6 additions & 0 deletions lib/programs screen/hacktoberfest_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ class _HacktoberfestState extends State<Hacktoberfest> {
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Hacktoberfest'),
actions: <Widget>[
IconButton(
Expand Down
6 changes: 6 additions & 0 deletions lib/programs screen/hyperledger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ class _HyperledgerState extends State<Hyperledger> {
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Hyperledger'),
actions: <Widget>[
IconButton(
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/linux_foundation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,14 @@ class _LinuxFoundationState extends State<LinuxFoundation> {
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(title: const Text('Linux Foundation'), actions: <Widget>[
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Linux Foundation'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/major_league_hacking_fellowship.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ class _MajorLeagueHackingFellowshipState
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(title: const Text('MLH Fellowship'), actions: <Widget>[
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('MLH Fellowship'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/open_summer_of_code.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,14 @@ class _OpenSummerOfCodeState extends State<OpenSummerOfCode> {
onRefresh: _refresh,
child: Scaffold(
appBar:
AppBar(title: const Text('Open Summer of Code'), actions: <Widget>[
AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Open Summer of Code'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/outreachy.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,14 @@ class _OutreachyScreenState extends State<OutreachyScreen> {
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(title: const Text('Outreachy'), actions: <Widget>[
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Outreachy'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
6 changes: 6 additions & 0 deletions lib/programs screen/redox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ class _RsocPageState extends State<RsocPage> {
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Redox Summer of Code'),
actions: <Widget>[
IconButton(
Expand Down
6 changes: 6 additions & 0 deletions lib/programs screen/season_of_kde.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ class _SeasonOfKDEState extends State<SeasonOfKDE> {
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Season of KDE'),
actions: <Widget>[
IconButton(
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/social_winter_of_code.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,14 @@ class _SWOCScreenState extends State<SWOCScreen> {
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(title: const Text('SWoC'), actions: <Widget>[
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('SWoC'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
9 changes: 8 additions & 1 deletion lib/programs screen/summer_of_bitcoin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,14 @@ class _SummerOfBitcoinState extends State<SummerOfBitcoin> {
return RefreshIndicator(
onRefresh: _refresh,
child: Scaffold(
appBar: AppBar(title: const Text('Summer of Bitcoin'), actions: <Widget>[
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text('Summer of Bitcoin'), actions: <Widget>[
IconButton(
icon: (isBookmarked)
? const Icon(Icons.bookmark_add_rounded)
Expand Down
6 changes: 6 additions & 0 deletions lib/widgets/book_mark_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ class _BookMarkScreenState extends State<BookMarkScreen> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: const Text(
'Bookmarks',
style: TextStyle(fontWeight: FontWeight.bold),
Expand Down
6 changes: 6 additions & 0 deletions lib/widgets/faq.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ class FAQPage extends StatelessWidget {

return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back_ios),

onPressed: () => Navigator.of(context).pop(),
),
centerTitle: true,
title: Text('FAQ', style: TextStyle(fontSize: 22.sp)),
),
body: SingleChildScrollView(
Expand Down
Loading