diff --git a/lib/src/widgets/input_widget.dart b/lib/src/widgets/input_widget.dart index 94972bad18..822212fe7a 100644 --- a/lib/src/widgets/input_widget.dart +++ b/lib/src/widgets/input_widget.dart @@ -85,6 +85,7 @@ class InternationalPhoneNumberInput extends StatefulWidget { final Iterable? autofillHints; final List? countries; + final Widget? indicator; InternationalPhoneNumberInput( {Key? key, @@ -124,7 +125,8 @@ class InternationalPhoneNumberInput extends StatefulWidget { this.focusNode, this.cursorColor, this.autofillHints, - this.countries}) + this.countries, + this.indicator}) : super(key: key); @override @@ -418,6 +420,7 @@ class _InputWidgetView ), SizedBox(width: widget.spaceBetweenSelectorAndTextField), ], + widget.indicator ?? SizedBox.shrink(), Flexible( child: TextFormField( key: widget.fieldKey ?? Key(TestHelper.TextInputKeyValue),