criação dos dados na tela visita domiciliar
This commit is contained in:
@@ -7,11 +7,13 @@ class TitleContainers extends StatelessWidget {
|
||||
String title;
|
||||
double width;
|
||||
TextAlign textAling;
|
||||
double fontSize;
|
||||
|
||||
TitleContainers({
|
||||
required this.title,
|
||||
this.width = double.infinity,
|
||||
this.textAling = TextAlign.center
|
||||
this.textAling = TextAlign.center,
|
||||
this.fontSize = 20
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -20,7 +22,7 @@ class TitleContainers extends StatelessWidget {
|
||||
padding: textAling!=TextAlign.center?EdgeInsets.all(10):ConstVariable().marginHightInput,
|
||||
width: width,
|
||||
color: ColorPalette.titleContainer,
|
||||
child: TextDefault(text: title,fontWeigth: FontWeight.bold,textAlign: textAling,color: ColorPalette.black54,),
|
||||
child: TextDefault(text: title,fontWeigth: FontWeight.bold,textAlign: textAling,color: ColorPalette.black54,fontSize: fontSize),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user