added linkPhone use cases, auth repository providers and data folder
This commit is contained in:
@@ -5,6 +5,7 @@ class CountryPrefixPicker extends StatelessWidget {
|
||||
const CountryPrefixPicker({
|
||||
super.key,
|
||||
required this.onChanged,
|
||||
required this.headerText,
|
||||
this.initialCountryCode = '+34',
|
||||
this.radius = 12,
|
||||
this.width = 90,
|
||||
@@ -15,7 +16,7 @@ class CountryPrefixPicker extends StatelessWidget {
|
||||
|
||||
final ValueChanged<CountryCode> onChanged;
|
||||
final String initialCountryCode;
|
||||
|
||||
final String headerText;
|
||||
final double radius;
|
||||
final double width;
|
||||
final double height;
|
||||
@@ -28,6 +29,7 @@ class CountryPrefixPicker extends StatelessWidget {
|
||||
width: width,
|
||||
height: height,
|
||||
child: CountryCodePicker(
|
||||
headerText: headerText,
|
||||
onChanged: onChanged,
|
||||
initialSelection: initialCountryCode,
|
||||
showFlag: false,
|
||||
|
||||
@@ -49,6 +49,7 @@ class CustomTextFieldState extends State<CustomTextField> {
|
||||
),
|
||||
),
|
||||
TextFormField(
|
||||
controller: widget.controller,
|
||||
keyboardType: widget.numeric
|
||||
? TextInputType.number
|
||||
: TextInputType.text,
|
||||
|
||||
Reference in New Issue
Block a user