Skip to content

Instantly share code, notes, and snippets.

@josue1dario2
Created January 2, 2023 02:49
Show Gist options
  • Save josue1dario2/7685a06494ce28e62a6a8ca6be523b2f to your computer and use it in GitHub Desktop.
Save josue1dario2/7685a06494ce28e62a6a8ca6be523b2f to your computer and use it in GitHub Desktop.
4. CardWidget
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