-
Notifications
You must be signed in to change notification settings - Fork 4
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 #103 from steevjames/branch
Improvements & Fixes
- Loading branch information
Showing
20 changed files
with
324 additions
and
90 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.
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.
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
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
116 changes: 116 additions & 0 deletions
116
lib/UI/Screens/HomePage/Widgets/Drawer/DevCredits/devCredits.dart
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,116 @@ | ||
import 'package:excelapp/UI/constants.dart'; | ||
import 'package:flutter/material.dart'; | ||
|
||
class DevCredits extends StatefulWidget { | ||
@override | ||
State<StatefulWidget> createState() => DevCreditsState(); | ||
} | ||
|
||
class DevCreditsState extends State<DevCredits> | ||
with SingleTickerProviderStateMixin { | ||
AnimationController controller; | ||
Animation<double> scaleAnimation; | ||
|
||
@override | ||
void initState() { | ||
super.initState(); | ||
|
||
controller = | ||
AnimationController(vsync: this, duration: Duration(milliseconds: 200)); | ||
scaleAnimation = CurvedAnimation(parent: controller, curve: Curves.easeIn); | ||
|
||
controller.addListener(() { | ||
setState(() {}); | ||
}); | ||
|
||
controller.forward(); | ||
} | ||
|
||
var developers = [ | ||
{ | ||
"name": "Steev James", | ||
"email": "[email protected]", | ||
"image": "assets/devs/steev.jpg" | ||
}, | ||
{ | ||
"name": "Joyal A Johney", | ||
"email": "[email protected]", | ||
"image": "assets/devs/joyal.jpg" | ||
}, | ||
{ | ||
"name": "Ajesh Kumar", | ||
"email": "[email protected]", | ||
"image": "assets/devs/ajesh.jpg" | ||
}, | ||
{ | ||
"name": "Priyanga P Kini", | ||
"email": "[email protected]", | ||
"image": "assets/devs/priyanka.jpg" | ||
} | ||
]; | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return ScaleTransition( | ||
scale: scaleAnimation, | ||
child: Dialog( | ||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(15)), | ||
insetPadding: EdgeInsets.all(13), | ||
child: Container( | ||
padding: EdgeInsets.all(20), | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(20), | ||
), | ||
child: SingleChildScrollView( | ||
child: Column( | ||
children: [ | ||
Text( | ||
"Core Developers", | ||
style: TextStyle( | ||
fontSize: 20, | ||
color: primaryColor, | ||
fontFamily: pfontFamily, | ||
), | ||
), | ||
SizedBox(height: 20), | ||
Image.asset( | ||
"assets/divider.png", | ||
width: MediaQuery.of(context).size.width / 2, | ||
), | ||
SizedBox(height: 10), | ||
Column( | ||
crossAxisAlignment: CrossAxisAlignment.stretch, | ||
children: <Widget>[] + | ||
List.generate( | ||
developers.length, | ||
(index) => Container( | ||
margin: EdgeInsets.only(top: 5, left: 5), | ||
// color: Colors.red, | ||
child: ListTile( | ||
title: Text( | ||
developers[index]["name"], | ||
style: TextStyle(fontSize: 14.5), | ||
), | ||
subtitle: Text( | ||
developers[index]["email"], | ||
style: TextStyle(fontSize: 13), | ||
), | ||
dense: true, | ||
leading: CircleAvatar( | ||
backgroundImage: AssetImage( | ||
developers[index]["image"], | ||
), | ||
), | ||
), | ||
), | ||
) + | ||
[SizedBox(height: 10)], | ||
) | ||
], | ||
), | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} |
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.