Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit ad19c64

Browse files
TedSandernshahan
authored andcommitted
Migrate material_input to use final for messages.
PiperOrigin-RevId: 199242399
1 parent b21f26a commit ad19c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/material_input/base_material_input.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,6 @@ class BaseMaterialInput extends FocusableMixin
454454
'Character counter shown below a text box in the format "12 / 25"',
455455
examples: const {'currentCount': 12, 'maxCount': 25});
456456

457-
static String get defaultEmptyMessage => Intl.message('Enter a value',
457+
static final defaultEmptyMessage = Intl.message('Enter a value',
458458
desc: 'Error message when the input is empty and required.');
459459
}

0 commit comments

Comments
 (0)