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