Flutter Card Widget

preview_player
Показать описание
This was how to make and use the Card widget within your Flutter app

COURSES

OVERVIEW
0:00​ Flutter Card Widget

MISSION
Our mission at Flutter Mapp (Flutter Mobile App) is to help purpose driven Flutter developers go full-time doing what they love and making an impact through coding. We achieve this with useful Flutter tips and straight to the point Flutter videos.

RECOMMENDED VIDEOS

EDITOR

SOCIAL MEDIA:

CONTACT

#FlutterMapp
#Flutter
Рекомендации по теме
Комментарии
Автор

lol
preview image
"monobank" is actual bank in Ukraine

ahmuidrab
Автор

"Card is like the Container widget but you have an elevation and rounded corners"

still don't know what is the advantage of it since Container also has those setting, they are all in property `decoration` where rounded corners can be adjusted in `borderRadius` and shawdow (elevation) stuff is in `boxShadow`

example:
Container(
// width: 400, height: 200,
padding: const EdgeInsets.all(16),
margin: const EdgeInsets.all(20),
decoration: const BoxDecoration(
color: Color.fromRGBO(7, 25, 82, 1),
borderRadius: BorderRadius.all(Radius.circular(20)),
boxShadow: [
BoxShadow(
color: Colors.black26, // Shadow color
blurRadius: 10.0, // Spread of the shadow
offset: Offset(0.0, 5.0), // Offset of the shadow
),
],
),
transform: Matrix4.translationValues(10, 12, 22),
child: const Text(
"Tìm kiếm",
style: TextStyle(
color: Color.fromRGBO(235, 244, 246, 1), fontSize: 20),
),
),

catorlife
Автор

а я думал реально карту монобанка сделал😂

martY-