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