forked from VaibhavCodeClub/learn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
170 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ import 'package:flutter_svg/flutter_svg.dart'; | |
import 'package:learn/utils/constants.dart'; | ||
import 'package:url_launcher/url_launcher.dart'; | ||
|
||
import '../utils/const_dimensions.dart'; | ||
|
||
class AboutPage extends StatelessWidget { | ||
const AboutPage({Key? key}) : super(key: key); | ||
|
||
|
@@ -29,30 +31,30 @@ class AboutPage extends StatelessWidget { | |
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
const SizedBox(height: 16.0), | ||
const SizedBox(height: ConstantDimensions.heightSmall_Medium), | ||
const Text( | ||
'Version: 1.1.0', | ||
style: TextStyle(fontSize: 18.0), | ||
), | ||
const SizedBox(height: 8.0), | ||
const SizedBox(height: ConstantDimensions.heightSmall_Medium / 2), | ||
const Text( | ||
'Developed by: sapatevaibhav', | ||
style: TextStyle(fontSize: 18.0), | ||
), | ||
const SizedBox(height: 16.0), | ||
const SizedBox(height: ConstantDimensions.heightSmall_Medium), | ||
const Text( | ||
'Description:', | ||
style: TextStyle( | ||
fontSize: 20.0, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
const SizedBox(height: 8.0), | ||
const SizedBox(height: ConstantDimensions.heightSmall_Medium / 2), | ||
const Text( | ||
AppConstants.description, | ||
style: TextStyle(fontSize: 18.0), | ||
), | ||
const SizedBox(height: 6.0), | ||
const SizedBox(height: ConstantDimensions.heightExtraSmall), | ||
const Text( | ||
'Source code:', | ||
style: TextStyle( | ||
|
@@ -66,14 +68,14 @@ class AboutPage extends StatelessWidget { | |
}, | ||
child: SvgPicture.asset( | ||
'assets/images/git.svg', | ||
width: 32.0, | ||
height: 32.0, | ||
width: ConstantDimensions.widthSmall_Medium * 2, | ||
height: ConstantDimensions.heightSmall_Medium * 2, | ||
color: Theme.of(context).brightness == Brightness.dark | ||
? Colors.white | ||
: Colors.black, | ||
), | ||
), | ||
const SizedBox(height: 16.0), | ||
const SizedBox(height: ConstantDimensions.heightSmall_Medium), | ||
const Text( | ||
'Connect:', | ||
style: TextStyle( | ||
|
@@ -89,48 +91,48 @@ class AboutPage extends StatelessWidget { | |
}, | ||
child: SvgPicture.asset( | ||
'assets/images/github.svg', | ||
width: 32.0, | ||
height: 32.0, | ||
width: ConstantDimensions.widthSmall_Medium * 2, | ||
height: ConstantDimensions.heightSmall_Medium * 2, | ||
color: Theme.of(context).brightness == Brightness.dark | ||
? Colors.white | ||
: Colors.black, | ||
), | ||
), | ||
const SizedBox(width: 16.0), | ||
const SizedBox(width: ConstantDimensions.widthSmall_Medium), | ||
GestureDetector( | ||
onTap: () { | ||
_launchURL(context, "mailto:[email protected]"); | ||
}, | ||
child: SvgPicture.asset( | ||
'assets/images/email.svg', | ||
width: 32.0, | ||
height: 32.0, | ||
width: ConstantDimensions.widthSmall_Medium * 2, | ||
height: ConstantDimensions.heightSmall_Medium * 2, | ||
color: Theme.of(context).brightness == Brightness.dark | ||
? Colors.white | ||
: Colors.black , | ||
), | ||
), | ||
const SizedBox(width: 16.0), | ||
const SizedBox(width: ConstantDimensions.widthSmall_Medium), | ||
GestureDetector( | ||
onTap: () { | ||
_launchURL( | ||
context, "https://linkedin.com/in/sapatevaibhav"); | ||
}, | ||
child: SvgPicture.asset( | ||
'assets/images/linkedin.svg', | ||
width: 32.0, | ||
height: 32.0, | ||
width: ConstantDimensions.widthSmall_Medium * 2, | ||
height: ConstantDimensions.heightSmall_Medium * 2, | ||
), | ||
), | ||
const SizedBox(width: 16.0), | ||
const SizedBox(width: ConstantDimensions.widthSmall_Medium), | ||
GestureDetector( | ||
onTap: () { | ||
_launchURL(context, "https://instagram.com/v.d.r.sapate"); | ||
}, | ||
child: SvgPicture.asset( | ||
'assets/images/instagram.svg', | ||
width: 32.0, | ||
height: 32.0, | ||
width: ConstantDimensions.widthSmall_Medium * 2, | ||
height: ConstantDimensions.heightSmall_Medium * 2, | ||
color: Theme.of(context).brightness == Brightness.dark | ||
? Colors.white | ||
: Colors.black, | ||
|
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
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.