ajuste no layout calendario
This commit is contained in:
@@ -18,36 +18,24 @@ class ItemAgenda extends StatelessWidget {
|
||||
|
||||
return Container(
|
||||
color: PaletaCores.branco,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20.0,vertical: 5),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 5.0,vertical: 0),
|
||||
child: Column(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.8,
|
||||
height: 65,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20.0),
|
||||
child: Column(
|
||||
children: [
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 5),
|
||||
child: Row(
|
||||
children: [
|
||||
TextCustom(text: 'Data',size: 14.0,fontWeight: FontWeight.bold),
|
||||
SizedBox(width: 10,),
|
||||
TextCustom(text: data,size: 14.0,fontWeight: FontWeight.normal,color: PaletaCores.cinzaClaro,),
|
||||
],
|
||||
width: Dimensoes.width*0.95,
|
||||
height: 30,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 0.0),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 5),
|
||||
child: Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.2,
|
||||
child: TextCustom(text: data,size: 14.0,fontWeight: FontWeight.normal,color: PaletaCores.cinzaClaro,)
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 5),
|
||||
child: Row(
|
||||
children: [
|
||||
TextCustom(text: 'Título',size: 14.0,fontWeight: FontWeight.bold),
|
||||
SizedBox(width: 10,),
|
||||
TextCustom(text: titulo),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
TextCustom(text: titulo),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
Container(width: double.infinity,height: 2,color: PaletaCores.divider,)
|
||||
|
||||
@@ -177,21 +177,35 @@ class _TelaAgendaState extends State<TelaAgenda> {
|
||||
),
|
||||
],
|
||||
),
|
||||
_calendario,
|
||||
Container(
|
||||
height: 325,
|
||||
margin: EdgeInsets.symmetric(horizontal: 16.0),
|
||||
child: _calendario,
|
||||
),
|
||||
Container(
|
||||
padding: EdgeInsets.symmetric(vertical: 15),
|
||||
height: Dimensoes.height*0.45,
|
||||
child: ListView.builder(
|
||||
itemCount: listDatas.length,
|
||||
itemBuilder: (context,index){
|
||||
return ItemAgenda(data: listDatas[index].data, titulo: listDatas[index].titulo);
|
||||
},
|
||||
width: Dimensoes.width*0.8,
|
||||
height: 30,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 5.0),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 0),
|
||||
child: Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.2,
|
||||
child: TextCustom(text: 'DATA',size: 14.0,fontWeight: FontWeight.bold),
|
||||
),
|
||||
TextCustom(text: 'TÍTULO',size: 14.0,fontWeight: FontWeight.bold),
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
Container(width: double.infinity,height: 2,color: PaletaCores.divider,),
|
||||
Container(
|
||||
padding: EdgeInsets.symmetric(vertical: 0),
|
||||
height: Dimensoes.height*0.38,
|
||||
child: ListView.builder(
|
||||
itemCount: listDatas.length,
|
||||
itemBuilder: (context,index){
|
||||
return ItemAgenda(data: listDatas[index].data, titulo: listDatas[index].titulo);
|
||||
},
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user