-
Notifications
You must be signed in to change notification settings - Fork 20
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 #142 from swciitg/Hacktoberfest_2023
Hacktoberfest 2023
- Loading branch information
Showing
36 changed files
with
1,463 additions
and
795 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,21 @@ | ||
const List<String> kmorningClasses = [ | ||
"08:00 - 08:55 AM", | ||
"09:00 - 09:55 AM", | ||
"10:00 - 10:55 AM", | ||
"11:00 - 11:55 AM", | ||
"12:00 - 12:55 PM", | ||
//labs | ||
"09:00 - 11:55 AM", | ||
]; | ||
|
||
const List<String> kafternoonClasses = [ | ||
"01:00 - 01:55 PM", | ||
"02:00 - 02:55 PM", | ||
"03:00 - 03:55 PM", | ||
"04:00 - 04-55 PM", | ||
"05:00 - 05:55 PM", | ||
//labs | ||
"01:00 - 03:55 PM", | ||
"02:00 - 04:55 PM", | ||
"03:00 - 05:55 PM", | ||
]; |
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,15 @@ | ||
const List<String> khostels = [ | ||
"Kameng", | ||
"Barak", | ||
"Lohit", | ||
"Brahmaputra", | ||
"Disang", | ||
"Manas", | ||
"Dihing", | ||
"Umiam", | ||
"Siang", | ||
"Kapili", | ||
"Dhansiri", | ||
"Subansiri", | ||
"Married Scholars" | ||
]; |
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,7 @@ | ||
const Map<int, String> kworkingDays = { | ||
0: "Monday", | ||
1: "Tuesday", | ||
2: "Wednesday", | ||
3: "Thursday", | ||
4: "Friday", | ||
}; |
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,50 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import 'package:onestop_dev/globals/my_colors.dart'; | ||
import 'package:onestop_dev/widgets/developer/developer_card.dart'; | ||
|
||
class DeveloperPage extends StatefulWidget { | ||
static String id = '/developer'; | ||
const DeveloperPage({super.key}); | ||
|
||
@override | ||
State<DeveloperPage> createState() => _DeveloperPageState(); | ||
} | ||
|
||
class _DeveloperPageState extends State<DeveloperPage> { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: Image.asset( | ||
'assets/images/AppLogo.png', | ||
), | ||
centerTitle: true, | ||
backgroundColor: kGrey14, | ||
), | ||
body: Container( | ||
color: kBackground, | ||
child: GridView( | ||
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( | ||
crossAxisCount: 2, | ||
mainAxisSpacing: 30, | ||
crossAxisSpacing: 20, | ||
childAspectRatio: 0.64, | ||
), | ||
padding: const EdgeInsets.symmetric( | ||
horizontal: 15, | ||
vertical: 50, | ||
), | ||
children: List.filled( | ||
4, | ||
const DeveloperCard( | ||
developerAvatarPath: 'assets/images/profile_placeholder.png', //Replace with your own image | ||
developerName: 'Developer name', //Replace with your own name | ||
developerPosition: 'Developer position', //Replace with your own position | ||
), | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} |
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
Oops, something went wrong.