Null safety

This commit is contained in:
Hillel Coren 2023-09-26 12:47:45 +03:00
parent d2bc6f27c2
commit afafdc305c
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class _EntityNumberSettingsState extends State<EntityNumberSettings> {
.forEach((dynamic controller) => controller.removeListener(_onChanged));
_counterController.text = '${widget.counterValue ?? ''}';
_patternController.text = widget.patternValue!;
_patternController.text = widget.patternValue ?? '';
_controllers
.forEach((dynamic controller) => controller.addListener(_onChanged));