Boa noite
Parei pra fazer um teste de como seria o Card com ListTile feito do zero.
Alguém pode avaliar se minha abordagem está ok?
import 'package:flutter/material.dart';
void main() => runApp(
MaterialApp(
home: Scaffold(
body: Column(
children: [
const Card(
child: ListTile(
leading: Icon(Icons.monetization_on),
title: Text('100.00'),
subtitle: Text('1000'),
),
),
/**
* MEU ListTile CLONE
*/
Card(
child: Row(
children: [
const Padding(
padding: EdgeInsets.fromLTRB(18.00, 15.00, 32.00, 30.00),
child: Icon(
Icons.monetization_on,
color: Color(0xFF888888),
),
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: const [
Padding(
padding: EdgeInsets.symmetric(
vertical: 3.00, horizontal: 0.00),
child: Text(
'100.00',
style: TextStyle(
fontSize: 16.00,
),
),
),
Text(
'1000',
style: TextStyle(
color: Color(0xFF888888),
),
),
],
),
],
),
),
/**
* FIM MEU ListTile CLONE
*/
],
),
appBar: AppBar(
title: const Text('Transferências'),
),
floatingActionButton: FloatingActionButton(
onPressed: () => {},
child: const Icon(Icons.add),
),
),
),
);