added linkPhone use cases, auth repository providers and data folder

This commit is contained in:
AlcalaJulian
2025-12-09 10:08:36 +01:00
parent 760e94ffe9
commit 0f30c7f422
34 changed files with 470 additions and 183 deletions

View File

@@ -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,

View File

@@ -49,6 +49,7 @@ class CustomTextFieldState extends State<CustomTextField> {
),
),
TextFormField(
controller: widget.controller,
keyboardType: widget.numeric
? TextInputType.number
: TextInputType.text,