Untitled
Anonymous
Plain Text
08/26/2025 5:38 AM
530 B
52
Indexable
Never
body: Center(
child: Card(
color: Colors.blue[200], // 🔹 Set card background color here
elevation: 4, // Shadow depth
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(15), // Rounded corners
),
child: Padding(
padding: const EdgeInsets.all(20.0),
child: Text(
"This is a colored card!",
style: TextStyle(fontSize: 18, color: Colors.white),
),
),
),
),Editor is loading...
Leave a Comment