Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4caa2a6

Browse files
committedNov 10, 2019
Updated Readme
1 parent f16b6a9 commit 4caa2a6

File tree

7 files changed

+124
-116
lines changed

7 files changed

+124
-116
lines changed
 

‎README.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,32 @@
1-
# adityagurjar
21

3-
A new Flutter project.
2+
# Portfolio Website Using Flutter Web
3+
A portfolio website built using flutter for web.
44

5-
## Getting Started
5+
Happy learning. :+1:
66

7-
This project is a starting point for a Flutter application.
7+
### Show some :heart: and star the repo to support the project
88

9-
A few resources to get you started if this is your first Flutter project:
9+
[![GitHub stars](https://img.shields.io/github/stars/adityadroid/adityadroid.github.io.svg?style=social&label=Star)](https://github.com/adityadroid/adityadroid.github.io) [![GitHub forks](https://img.shields.io/github/forks/adityadroid/adityadroid.github.io.svg?style=social&label=Fork)](https://github.com/adityadroid/adityadroid.github.io/fork) [![GitHub watchers](https://img.shields.io/github/watchers/adityadroid/adityadroid.github.io.svg?style=social&label=Watch)](https://github.com/adityadroid/adityadroid.github.io) [![GitHub followers](https://img.shields.io/github/followers/adityadroid.svg?style=social&label=Follow)](https://github.com/adityadroid/adityadroid.github.io)
10+
[![Twitter Follow](https://img.shields.io/twitter/follow/adityadroid.svg?style=social)](https://twitter.com/adityadroid)
1011

11-
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
1312

14-
For help getting started with Flutter, view our
15-
[online documentation](https://flutter.dev/docs), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
13+
14+
### :heart: Found this project useful?
15+
16+
If you found this project useful, then please consider giving it a :star: on Github and sharing it with your friends via social media.
17+
18+
## Project Created & Maintained By
19+
20+
### Aditya Gurjar
21+
22+
23+
<a href="https://play.google.com/store/apps/developer?id=Aditya+Gurjar"><img src="https://github.com/aritraroy/social-icons/blob/master/play-store-icon.png?raw=true" width="60"></a> <a href="https://medium.com/@adityadroid"><img src="https://github.com/aritraroy/social-icons/blob/master/medium-icon.png?raw=true" width="60"></a>
24+
<a href="https://twitter.com/adityadroid"><img src="https://github.com/aritraroy/social-icons/blob/master/twitter-icon.png?raw=true" width="60"></a>
25+
<a href="https://linkedin.com/in/adityagurjar"><img src="https://github.com/aritraroy/social-icons/blob/master/linkedin-icon.png?raw=true" width="60"></a>
26+
<a href="https://instagram.com/adityadroid"><img src="https://github.com/aritraroy/social-icons/blob/master/instagram-icon.png?raw=true" width="60"></a>
27+
28+
# Donate
29+
30+
> If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of :coffee:
31+
>
32+
> - [PayPal](https://www.paypal.me/adityadroid/)

‎lib/config/projects.dart

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
import 'package:adityagurjar/models/project_model.dart';
2+
import 'assets.dart';
3+
4+
final List<Project> projects = [
5+
Project(
6+
name: 'Truelancer',
7+
image: Assets.truelancer,
8+
description:
9+
'Truelancer Mobile App is a Freelancing Platform. You can Search Jobs & Hire Freelancers for work.',
10+
link:
11+
'https://play.google.com/store/apps/details?id=com.truelancer.app'),
12+
Project(
13+
name: 'Messio',
14+
image: Assets.messio,
15+
description:
16+
'An Open-Source Messaging App built using Flutter and Firebase. Part of the series \'60 Days of Flutter',
17+
link: 'https://github.com/adityadroid/messio'),
18+
Project(
19+
name: 'Savaari',
20+
image: Assets.savaari_consumer,
21+
description:
22+
'Savaari is the leading player in Outstation Cabs, Hourly Rental Cabs, Airport Pickups and Airport Drop Taxis. ',
23+
link: 'https://play.google.com/store/apps/details?id=com.savaari.app'),
24+
Project(
25+
name: 'Savaari Partner',
26+
image: Assets.savaari_partner,
27+
description:
28+
'This App allows cab drivers to conveniently share billing and other trip details scheduled to them.',
29+
link:
30+
'https://play.google.com/store/apps/details?id=com.savaari.driver.app'),
31+
Project(
32+
name: 'Mynewcar',
33+
image: Assets.mynewcar,
34+
description:
35+
'Through this App, along with doorstep delivery of a new car, one can also select the accessories to buy.',
36+
link: 'https://play.google.com/store/apps/details?id=com.mynewcar.app'),
37+
Project(
38+
name: 'Trivz',
39+
image: Assets.trivz,
40+
description:
41+
'With the Trivz app, car owners can give test drives to car buyers.',
42+
link:
43+
'https://play.google.com/store/apps/details?id=in.mynewcar.testdrives'),
44+
Project(
45+
name: 'Mydealer',
46+
image: Assets.mydealer,
47+
description:
48+
'Mydealer App helps a car dealership to manage sales process and improve the productivity`.',
49+
link: 'https://play.google.com/store/apps/details?id=in.mnc.mydealer'),
50+
Project(
51+
name: 'FaceLyt',
52+
image: Assets.facelyt,
53+
description:
54+
'FaceLyt is an alternative and free client to manage your Facebook account.',
55+
link:
56+
'https://apkpure.com/facelyt-for-facebook-lite/com.adityaadi1467.facelytx'),
57+
Project(
58+
name: 'Cocoapay',
59+
image: Assets.cocoapay,
60+
description:
61+
'Cocoapay helps merchants start accepting payments through POS devices and bill through the app.',
62+
link: 'http://www.cocoapay.com/'),
63+
Project(
64+
name: 'VDrone',
65+
image: Assets.vdrone,
66+
description: 'A New company which does everything you dont want',
67+
link: 'http://www.vdrone.xyz/'),
68+
Project(
69+
name: 'Wheelie Repairs',
70+
image: Assets.wheelie_repairs,
71+
description:
72+
'Wheelie Repairs providers door to door garage services & breakdown assistance for vehicles.',
73+
link:
74+
'https://play.google.com/store/apps/details?id=com.wheelierepairs'),
75+
Project(
76+
name: 'Kharedi Now',
77+
image: Assets.kharedi_now,
78+
description: 'A Grocery app for the city of Latur.'),
79+
Project(
80+
name: 'Rajasthan Tourism',
81+
image: Assets.rajasthan_tourism,
82+
description:
83+
'A app built using Cordova which had info about Rajasthan and its tourism destinations'),
84+
Project(
85+
name: 'Railenq',
86+
image: Assets.railenq,
87+
description:
88+
'RailENQ is an app for trains and Railway Enquiries.'),
89+
];

‎lib/main.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,12 @@ void main() => runApp(MyApp());
99
class MyApp extends StatelessWidget {
1010
@override
1111
Widget build(BuildContext context) {
12-
// MaterialApp(
13-
// debugShowCheckedModeBanner: false,
14-
// title: 'Aditya Gurjar',
15-
// theme:ThemeSwitcher.of(context).isDarkModeOn?darkTheme(context):lightTheme(context),
16-
// home: Scaffold(
17-
// body: Container(),
18-
// ),
19-
// );
2012
return ThemeSwitcherWidget(
2113
initialDarkModeOn: false,
2214
child: Adityadroid(),
2315
);
2416
}
2517
}
26-
2718
class Adityadroid extends StatelessWidget {
2819
const Adityadroid({
2920
Key key,

‎lib/tabs/about_tab.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class AboutTab extends StatelessWidget {
1414
children: <Widget>[
1515
CircleAvatar(
1616
radius: 100,
17-
backgroundImage: Image.asset('assets/avatar.jpg').image,
17+
backgroundImage: Image.asset(Assets.avatar).image,
1818
),
1919
SizedBox(
2020
height: 20,
@@ -98,4 +98,3 @@ class AboutTab extends StatelessWidget {
9898
);
9999
}
100100
}
101-
//<div>Icons made by <a href="https://www.flaticon.com/authors/pixel-perfect" title="Pixel perfect">Pixel perfect</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>

‎lib/tabs/blog_tab.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class _BlogTabState extends State<BlogTab> {
7171

7272
Widget blogList() {
7373

74-
7574
return SingleChildScrollView(
7675
child: Padding(
7776
padding: const EdgeInsets.only(bottom: 16.0),

‎lib/tabs/projects_tab.dart

Lines changed: 1 addition & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,96 +1,9 @@
1-
import 'package:adityagurjar/config/assets.dart';
2-
import 'package:adityagurjar/models/project_model.dart';
1+
import 'package:adityagurjar/config/projects.dart';
32
import 'package:adityagurjar/widgets/project_widget.dart';
43
import 'package:adityagurjar/widgets/responsive_widget.dart';
54
import 'package:flutter/material.dart';
65

76
class ProjectsTab extends StatelessWidget {
8-
final List<Project> projects = [
9-
Project(
10-
name: 'Truelancer',
11-
image: Assets.truelancer,
12-
description:
13-
'Truelancer Mobile App is a Freelancing Platform. You can Search Jobs & Hire Freelancers for work.',
14-
link:
15-
'https://play.google.com/store/apps/details?id=com.truelancer.app'),
16-
Project(
17-
name: 'Messio',
18-
image: Assets.messio,
19-
description:
20-
'An Open-Source Messaging App built using Flutter and Firebase. Part of the series \'60 Days of Flutter',
21-
link: 'https://github.com/adityadroid/messio'),
22-
Project(
23-
name: 'Savaari',
24-
image: Assets.savaari_consumer,
25-
description:
26-
'Savaari is the leading player in Outstation Cabs, Hourly Rental Cabs, Airport Pickups and Airport Drop Taxis. ',
27-
link: 'https://play.google.com/store/apps/details?id=com.savaari.app'),
28-
Project(
29-
name: 'Savaari Partner',
30-
image: Assets.savaari_partner,
31-
description:
32-
'This App allows cab drivers to conveniently share billing and other trip details scheduled to them.',
33-
link:
34-
'https://play.google.com/store/apps/details?id=com.savaari.driver.app'),
35-
Project(
36-
name: 'Mynewcar',
37-
image: Assets.mynewcar,
38-
description:
39-
'Through this App, along with doorstep delivery of a new car, one can also select the accessories to buy.',
40-
link: 'https://play.google.com/store/apps/details?id=com.mynewcar.app'),
41-
Project(
42-
name: 'Trivz',
43-
image: Assets.trivz,
44-
description:
45-
'With the Trivz app, car owners can give test drives to car buyers.',
46-
link:
47-
'https://play.google.com/store/apps/details?id=in.mynewcar.testdrives'),
48-
Project(
49-
name: 'Mydealer',
50-
image: Assets.mydealer,
51-
description:
52-
'Mydealer App helps a car dealership to manage sales process and improve the productivity`.',
53-
link: 'https://play.google.com/store/apps/details?id=in.mnc.mydealer'),
54-
Project(
55-
name: 'FaceLyt',
56-
image: Assets.facelyt,
57-
description:
58-
'FaceLyt is an alternative and free client to manage your Facebook account.',
59-
link:
60-
'https://apkpure.com/facelyt-for-facebook-lite/com.adityaadi1467.facelytx'),
61-
Project(
62-
name: 'Cocoapay',
63-
image: Assets.cocoapay,
64-
description:
65-
'Cocoapay helps merchants start accepting payments through POS devices and bill through the app.',
66-
link: 'http://www.cocoapay.com/'),
67-
Project(
68-
name: 'VDrone',
69-
image: Assets.vdrone,
70-
description: 'A New company which does everything you dont want',
71-
link: 'http://www.vdrone.xyz/'),
72-
Project(
73-
name: 'Wheelie Repairs',
74-
image: Assets.wheelie_repairs,
75-
description:
76-
'Wheelie Repairs providers door to door garage services & breakdown assistance for vehicles.',
77-
link:
78-
'https://play.google.com/store/apps/details?id=com.wheelierepairs'),
79-
Project(
80-
name: 'Kharedi Now',
81-
image: Assets.kharedi_now,
82-
description: 'A Grocery app for the city of Latur.'),
83-
Project(
84-
name: 'Rajasthan Tourism',
85-
image: Assets.rajasthan_tourism,
86-
description:
87-
'A app built using Cordova which had info about Rajasthan and its tourism destinations'),
88-
Project(
89-
name: 'Railenq',
90-
image: Assets.railenq,
91-
description:
92-
'RailENQ is an app for trains and Railway Enquiries.'),
93-
];
947

958
@override
969
Widget build(BuildContext context) {

‎lib/widgets/theme_inherited_widget.dart

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:flutter/material.dart';
22

33
class ThemeSwitcher extends InheritedWidget {
4-
final _ThemeSwitcherWidgetState data;
4+
final _ThemeSwitcherWidgetState data; // We'll use ThemeSwitcher to get access to the current state of ThemeSwitcherWidget
55

66
const ThemeSwitcher({
77
Key key,
@@ -10,7 +10,7 @@ class ThemeSwitcher extends InheritedWidget {
1010
}) : assert(child != null),
1111
super(key: key, child: child);
1212

13-
static _ThemeSwitcherWidgetState of(BuildContext context) {
13+
static _ThemeSwitcherWidgetState of(BuildContext context) { //This method returns the current state of the ThemeSwitcherWidget. This will be used down the tree
1414
return (context.inheritFromWidgetOfExactType(ThemeSwitcher)
1515
as ThemeSwitcher)
1616
.data;
@@ -23,8 +23,8 @@ class ThemeSwitcher extends InheritedWidget {
2323
}
2424

2525
class ThemeSwitcherWidget extends StatefulWidget {
26-
final bool initialDarkModeOn;
27-
final Widget child;
26+
final bool initialDarkModeOn; // this is the initial state of the variable
27+
final Widget child; // child to which this boolean variable should be propagated upon change. This will be our app in this case
2828

2929
ThemeSwitcherWidget({Key key, this.initialDarkModeOn, this.child})
3030
: assert(initialDarkModeOn != null),
@@ -35,18 +35,19 @@ class ThemeSwitcherWidget extends StatefulWidget {
3535
_ThemeSwitcherWidgetState createState() => _ThemeSwitcherWidgetState();
3636
}
3737

38+
3839
class _ThemeSwitcherWidgetState extends State<ThemeSwitcherWidget> {
3940
bool isDarkModeOn;
4041

41-
void switchDarkMode() {
42+
void switchDarkMode() { //method used to toggle dark mode during the runtime of the app
4243
setState(() {
4344
isDarkModeOn = !isDarkModeOn;
4445
});
4546
}
4647

4748
@override
4849
Widget build(BuildContext context) {
49-
isDarkModeOn = isDarkModeOn ?? widget.initialDarkModeOn;
50+
isDarkModeOn = isDarkModeOn ?? widget.initialDarkModeOn; // this is the build method which would build the widget tree with the above info
5051
return ThemeSwitcher(
5152
data: this,
5253
child: widget.child,

0 commit comments

Comments
 (0)