Skip to content

Commit

Permalink
Fixed minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
adityadroid committed Nov 9, 2019
1 parent 8125c57 commit 690ce69
Show file tree
Hide file tree
Showing 31 changed files with 50 additions and 24 deletions.
19 changes: 19 additions & 0 deletions assets/FontManifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

[
{
"family": "MaterialIcons",
"fonts": [
{
"asset": "https://fonts.gstatic.com/s/materialicons/v42/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2"
}
]
},
{
"family": "GoogleSansRegular",
"fonts": [
{
"asset": "GoogleSansRegular.ttf"
}
]
}
]
Binary file added assets/GoogleSansRegular.ttf
Binary file not shown.
File renamed without changes.
Binary file added assets/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/linkedin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/medium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/moon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/cocoapay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/facelyt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/kharedi_now.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/messio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/mydealer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/mynewcar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/railenq.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/rajasthan_tourism.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/savaari_consumer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/savaari_partner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/stattion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/trivz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/truelancer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/vdrone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/works/wheelie_repairs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:adityagurjar/pages/home_page.dart';
import 'package:adityagurjar/widgets/theme_inherited_widget.dart';
import 'package:flutter/material.dart';

import 'config/themes.dart';
import 'widgets/theme_inherited_widget.dart';

void main() => runApp(MyApp());

Expand All @@ -26,6 +26,7 @@ class Adityadroid extends StatelessWidget {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Aditya Gurjar',
//theme: lightTheme(context),
theme:ThemeSwitcher.of(context).isDarkModeOn?darkTheme(context):lightTheme(context),
home: HomePage(),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class _HomePageState extends State<HomePage> {
appBar: AppBar(
actions: <Widget>[
IconButton(
icon: ThemeSwitcher.of(context).isDarkModeOn?Icon(Icons.wb_sunny):Image.asset('moon.png',height: 20,width: 20,),
icon: ThemeSwitcher.of(context).isDarkModeOn?Icon(Icons.wb_sunny):Image.asset('assets/moon.png',height: 20,width: 20,),
onPressed: ()=> ThemeSwitcher.of(context).switchDarkMode(),
)
],
Expand Down
14 changes: 7 additions & 7 deletions lib/tabs/about_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AboutTab extends StatelessWidget {
children: <Widget>[
CircleAvatar(
radius: 100,
backgroundImage: Image.asset('avatar.jpg').image,
backgroundImage: Image.asset('assets/avatar.jpg').image,
),
SizedBox(
height: 20,
Expand Down Expand Up @@ -42,21 +42,21 @@ class AboutTab extends StatelessWidget {
icon: SizedBox(
width: 20,
height: 20,
child: Image.asset('github.png')),
child: Image.asset('assets/github.png')),
label: Text('Github'),
onPressed:()=> html.window.open(Constants.PROFILE_GITHUB,'adityadroid' ),
),FlatButton.icon(
icon: SizedBox(
width: 20,
height: 20,
child: Image.asset('twitter.png')),
child: Image.asset('assets/twitter.png')),
label: Text('Twitter'),
onPressed:()=> html.window.open(Constants.PROFILE_TWITTER,'adityadroid' ),
),FlatButton.icon(
icon: SizedBox(
width: 20,
height: 20,
child: Image.asset('medium.png')),
child: Image.asset('assets/medium.png')),
label: Text('Medium'),
onPressed:()=> html.window.open(Constants.PROFILE_MEDIUM,'adityadroid' ),
)
Expand All @@ -70,21 +70,21 @@ class AboutTab extends StatelessWidget {
icon: SizedBox(
width: 20,
height: 20,
child: Image.asset('instagram.png')),
child: Image.asset('assets/instagram.png')),
label: Text('Instagram'),
onPressed:()=> html.window.open(Constants.PROFILE_INSTAGRAM,'adityadroid' ),
),FlatButton.icon(
icon: SizedBox(
width: 20,
height: 20,
child: Image.asset('facebook.png')),
child: Image.asset('assets/facebook.png')),
label: Text('Facebook'),
onPressed:()=> html.window.open(Constants.PROFILE_FACEBOOK,'adityadroid' ),
),FlatButton.icon(
icon: SizedBox(
width: 20,
height: 20,
child: Image.asset('linkedin.png')),
child: Image.asset('assets/linkedin.png')),
label: Text('Linkedin'),
onPressed:()=> html.window.open(Constants.PROFILE_LINKEDIN,'adityadroid' ),
)
Expand Down
28 changes: 14 additions & 14 deletions lib/tabs/projects_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,86 +7,86 @@ class ProjectsTab extends StatelessWidget {
final List<Project> projects = [
Project(
name: 'Truelancer',
image: 'works/truelancer.png',
image: 'assets/works/truelancer.png',
description:
'Truelancer Mobile App is a Freelancing Platform. You can Search Jobs & Hire Freelancers for work.',
link:
'https://play.google.com/store/apps/details?id=com.truelancer.app'),
Project(
name: 'Messio',
image: 'works/messio.png',
image: 'assets/works/messio.png',
description:
'An Open-Source Messaging App built using Flutter and Firebase. Part of the series \'60 Days of Flutter',
link: 'https://github.com/adityadroid/messio'),
Project(
name: 'Savaari',
image: 'works/savaari_consumer.png',
image: 'assets/works/savaari_consumer.png',
description:
'Savaari is the leading player in Outstation Cabs, Hourly Rental Cabs, Airport Pickups and Airport Drop Taxis. ',
link: 'https://play.google.com/store/apps/details?id=com.savaari.app'),
Project(
name: 'Savaari Partner',
image: 'works/savaari_partner.png',
image: 'assets/works/savaari_partner.png',
description:
'This App allows cab drivers to conveniently share billing and other trip details scheduled to them.',
link:
'https://play.google.com/store/apps/details?id=com.savaari.driver.app'),
Project(
name: 'Mynewcar',
image: 'works/mynewcar.png',
image: 'assets/works/mynewcar.png',
description:
'Through this App, along with doorstep delivery of a new car, one can also select the accessories to buy.',
link: 'https://play.google.com/store/apps/details?id=com.mynewcar.app'),
Project(
name: 'Trivz',
image: 'works/trivz.png',
image: 'assets/works/trivz.png',
description:
'With the Trivz app, car owners can give test drives to car buyers.',
link:
'https://play.google.com/store/apps/details?id=in.mynewcar.testdrives'),
Project(
name: 'Mydealer',
image: 'works/mydealer.png',
image: 'assets/works/mydealer.png',
description:
'Mydealer App helps a car dealership to manage sales process and improve the productivity`.',
link: 'https://play.google.com/store/apps/details?id=in.mnc.mydealer'),
Project(
name: 'FaceLyt',
image: 'works/facelyt.png',
image: 'assets/works/facelyt.png',
description:
'FaceLyt is an alternative and free client to manage your Facebook account.',
link:
'https://apkpure.com/facelyt-for-facebook-lite/com.adityaadi1467.facelytx'),
Project(
name: 'Cocoapay',
image: 'works/cocoapay.png',
image: 'assets/works/cocoapay.png',
description:
'Cocoapay helps merchants start accepting payments through POS devices and bill through the app.',
link: 'http://www.cocoapay.com/'),
Project(
name: 'VDrone',
image: 'works/vdrone.png',
image: 'assets/works/vdrone.png',
description: 'A New company which does everything you dont want',
link: 'http://www.vdrone.xyz/'),
Project(
name: 'Wheelie Repairs',
image: 'works/wheelie_repairs.png',
image: 'assets/works/wheelie_repairs.png',
description:
'Wheelie Repairs providers door to door garage services & breakdown assistance for vehicles.',
link:
'https://play.google.com/store/apps/details?id=com.wheelierepairs'),
Project(
name: 'Kharedi Now',
image: 'works/kharedi_now.png',
image: 'assets/works/kharedi_now.png',
description: 'A Grocery app for the city of Latur.'),
Project(
name: 'Rajasthan Tourism',
image: 'works/rajasthan_tourism.png',
image: 'assets/works/rajasthan_tourism.png',
description:
'A app built using Cordova which had info about Rajasthan and its tourism destinations'),
Project(
name: 'Railenq',
image: 'works/railenq.png',
image: 'assets/works/railenq.png',
description:
'RailENQ is an app for trains and Railway Enquiries.'),
];
Expand Down
8 changes: 7 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@ dependencies:

flutter:
uses-material-design: true

assets:
- assets/
- assets/works/
fonts:
- family: GoogleSansRegular
fonts:
- asset: assets/GoogleSansRegular.ttf

0 comments on commit 690ce69

Please sign in to comment.