fix font size
This commit is contained in:
@@ -163,7 +163,7 @@ class _PickUpEditorState extends State<PickUpEditor> {
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(20.0),
|
||||
padding: const EdgeInsets.all(10.0),
|
||||
child: ListView(children: <Widget>[
|
||||
Center(child: nameWidget(mainModel.customer.name)),
|
||||
phoneWidget(context, mainModel.customer.phoneNumber),
|
||||
|
||||
@@ -34,7 +34,7 @@ TextStyle newLabelStyle(
|
||||
FontWeight fontWeight,
|
||||
bool underline = false}) {
|
||||
return TextStyle(
|
||||
fontSize: fontSize == null ? 13 : fontSize,
|
||||
fontSize: fontSize == null ? 14 : fontSize,
|
||||
color: color == null ? secondaryColor : color,
|
||||
fontWeight: fontWeight == null ? FontWeight.w500 : fontWeight,
|
||||
decoration: underline ? TextDecoration.underline : TextDecoration.none);
|
||||
@@ -58,7 +58,7 @@ const TextStyle photoLabelStyle =
|
||||
const TextStyle photoLabelStyleMM = TextStyle(
|
||||
color: Colors.black, fontSize: 13.0, fontFamily: "MyanmarUnicode");
|
||||
const TextStyle textStyle =
|
||||
TextStyle(fontSize: 18, color: Colors.black87, fontWeight: FontWeight.w500);
|
||||
TextStyle(fontSize: 14, color: Colors.black87, fontWeight: FontWeight.w500);
|
||||
const TextStyle textStyleOdd = TextStyle(
|
||||
fontSize: 15, color: Colors.blueAccent, fontWeight: FontWeight.w500);
|
||||
const TextStyle textStrikeStyle = TextStyle(
|
||||
|
||||
@@ -18,7 +18,7 @@ Widget labeledText(BuildContext context, String text, String label,
|
||||
child: LocalText(
|
||||
context,
|
||||
label,
|
||||
fontSize: 16,
|
||||
fontSize: 14,
|
||||
color:primaryColor,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user