Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
rajajain08geekyants committed Mar 7, 2019
1 parent 5d01624 commit 286eeb7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 24 deletions.
13 changes: 0 additions & 13 deletions LICENSE

This file was deleted.

14 changes: 8 additions & 6 deletions animation_exp/lib/Examples/example1.dart
Expand Up @@ -15,23 +15,25 @@ class Example1 extends StatelessWidget {
height: 50,
width: 150,
decoration: BoxDecoration(
color: Colors.red,
color: Color.fromRGBO(61, 135, 160, 1),
borderRadius: BorderRadius.all(
Radius.circular(8),
)),
child:
Center(child: Text("NOPE", style: TextStyle(color: Colors.white))),
child: Center(
child: Text("NOPE",
style: TextStyle(color: Colors.white, fontSize: 16))),
),
rightSwipeButton: Container(
height: 50,
width: 150,
decoration: BoxDecoration(
color: Colors.green,
color: Color.fromRGBO(95, 169, 194, 1),
borderRadius: BorderRadius.all(
Radius.circular(8),
)),
child:
Center(child: Text("YEAH", style: TextStyle(color: Colors.white))),
child: Center(
child: Text("YEAH",
style: TextStyle(color: Colors.white, fontSize: 16))),
),
onSwipeLeft: (index) {
print("on swipe left");
Expand Down
4 changes: 2 additions & 2 deletions animation_exp/lib/Examples/example2.dart
Expand Up @@ -16,7 +16,7 @@ class Example2 extends StatelessWidget {
height: 50,
width: 150,
decoration: BoxDecoration(
color: Colors.red,
color: Color.fromRGBO(61, 135, 160, 1),
borderRadius: BorderRadius.all(
Radius.circular(8),
)),
Expand All @@ -27,7 +27,7 @@ class Example2 extends StatelessWidget {
height: 50,
width: 150,
decoration: BoxDecoration(
color: Colors.green,
color: Color.fromRGBO(95, 169, 194, 1),
borderRadius: BorderRadius.all(
Radius.circular(8),
)),
Expand Down
4 changes: 2 additions & 2 deletions animation_exp/lib/Examples/example3.dart
Expand Up @@ -16,7 +16,7 @@ class Example3 extends StatelessWidget {
height: 50,
width: 150,
decoration: BoxDecoration(
color: Colors.red,
color: Color.fromRGBO(61, 135, 160, 1),
borderRadius: BorderRadius.all(
Radius.circular(8),
)),
Expand All @@ -27,7 +27,7 @@ class Example3 extends StatelessWidget {
height: 50,
width: 150,
decoration: BoxDecoration(
color: Colors.green,
color: Color.fromRGBO(95, 169, 194, 1),
borderRadius: BorderRadius.all(
Radius.circular(8),
)),
Expand Down
2 changes: 1 addition & 1 deletion animation_exp/lib/main.dart
Expand Up @@ -29,7 +29,7 @@ class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.cyan,
backgroundColor: Color.fromRGBO(216, 245, 255, 1),
body: Center(
child: _widgetOptions.elementAt(_selectedIndex),
),
Expand Down

0 comments on commit 286eeb7

Please sign in to comment.