Skip to content

Commit 2ab82ef

Browse files
committed
Use TextProp instead of StartEndProp
1 parent 47046a4 commit 2ab82ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/transformers/defaults/theme_defaults.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ButtonDefaults {
6767
static const IconPlacementEnum placement = IconPlacementEnum.start;
6868
static const double gap = 8;
6969

70-
static StartEndProp get labelStyle => StartEndProp.general(fontSize: 13);
70+
static TextProp get labelStyle => TextProp.general(fontSize: 13);
7171
static const MultiSourceIconModel icon = MultiSourceIconModel(size: 20);
7272

7373
const ButtonDefaults._();
@@ -95,7 +95,7 @@ class TextFieldDefaults {
9595
static const int maxLines = 1;
9696
static const String obscuringCharacter = '•';
9797

98-
static StartEndProp get style => StartEndProp.general(
98+
static TextProp get style => TextProp.general(
9999
fontSize: 14,
100100
fills: [PaintModel.blackPaint],
101101
);
@@ -154,7 +154,7 @@ class AppBarDefaults {
154154
MultiSourceIconModel.icon(color: null);
155155
static const bool automaticallyImplyLeading = false;
156156

157-
static StartEndProp get titleStyle => StartEndProp.general(fontSize: 18);
157+
static TextProp get titleStyle => TextProp.general(fontSize: 18);
158158
static const Color backgroundColor = kDefaultPrimaryColor;
159159
static const String title = 'App Bar';
160160
static const double titleSpacing = 16;

0 commit comments

Comments
 (0)