Created
January 2, 2023 02:49
-
-
Save josue1dario2/7685a06494ce28e62a6a8ca6be523b2f to your computer and use it in GitHub Desktop.
4. CardWidget
This file contains hidden or 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 CardWidget extends StatelessWidget { | |
const CardWidget({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
margin: const EdgeInsets.only(bottom: 15), | |
height: 90, | |
width: 390, | |
decoration: const BoxDecoration( | |
color: Colors.white, | |
borderRadius: BorderRadius.all(Radius.circular(15)), | |
boxShadow: [ | |
BoxShadow( | |
color: Color(0xFFd3d3d3), offset: Offset(0, 6), blurRadius: 15) | |
]), | |
child: Row( | |
children: const [ | |
SizedBox( | |
width: 30, | |
), | |
CustomText( | |
text: 'Barrio Jardín', | |
size: 16, | |
weight: FontWeight.w600, | |
color: Color(0xFF482F74)), | |
SizedBox( | |
width: 60, | |
), | |
Container1(), | |
SizedBox( | |
width: 10, | |
), | |
Container2() | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment