Created
February 25, 2019 04:28
-
-
Save ritshpatidar/4d0b106e3980bfae774abd0650743172 to your computer and use it in GitHub Desktop.
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
class MyCard extends StatelessWidget{ | |
const MyCard({Key key, this.h, this.w}) : super(key:key); | |
final double h,w; | |
@override | |
Widget build(BuildContext context){ | |
return Card( | |
child: Container( | |
width: w, | |
height: h | |
), | |
color: Colors.blue | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment