inserido icone android, logo,ajustada a tela home e login

This commit is contained in:
Reginaldo
2023-03-22 14:56:39 -03:00
parent 25a5cb6f15
commit 954e5aa2bf
21 changed files with 390 additions and 86 deletions

View File

@@ -0,0 +1,40 @@
import 'package:flutter/material.dart';
import 'package:rkm/utils/color_palette.dart';
import 'package:rkm/utils/const_variable.dart';
import 'package:rkm/widgets/text_default.dart';
class ItemCitizen extends StatelessWidget {
String name;
String date;
String mother;
String numberCNS;
String numberMedicalRecord;
var onTap;
ItemCitizen({
required this.name,
required this.date,
required this.mother,
required this.numberCNS,
required this.numberMedicalRecord,
required this.onTap
});
@override
Widget build(BuildContext context) {
return Container(
margin: ConstVariable().marginHightInput,
child: Card(
margin: ConstVariable().marginHightInput,
color: ColorPalette.white,
child: ListTile(
title: TextDefault(text: name,fontWeigth: FontWeight.bold),
subtitle: TextDefault(text: '$numberCNS - $numberMedicalRecord - $date - $mother',fontSize: 16),
trailing: Icon(Icons.assignment_outlined),
onTap: onTap,
),
),
);
}
}