sign up feature second version done

This commit is contained in:
2025-12-26 14:47:08 +01:00
parent 4c46b2f498
commit 0e3fd8e6d5
27 changed files with 1153 additions and 325 deletions

View File

@@ -29,12 +29,13 @@ class CountryPrefixPicker extends StatelessWidget {
width: width,
height: height,
child: CountryCodePicker(
showCountryOnly: true,
showOnlyCountryWhenClosed: true,
showDropDownButton: true,
headerText: headerText,
onChanged: onChanged,
initialSelection: initialCountryCode,
showFlag: false,
showDropDownButton: false,
hideMainText: true,
showFlag: true,
padding: EdgeInsets.zero,
builder: (CountryCode? country) {
if (country == null) {

View File

@@ -9,6 +9,7 @@ class CustomTextField extends StatefulWidget {
final String label;
final int? lines;
final ValueChanged<String>? onChanged;
final bool readOnly;
final int? length;
final TextEditingController? controller;
@@ -23,6 +24,7 @@ class CustomTextField extends StatefulWidget {
this.lines,
this.length,
this.onChanged,
this.readOnly = false,
this.controller,
});
@@ -52,6 +54,7 @@ class CustomTextFieldState extends State<CustomTextField> {
),
),
TextFormField(
readOnly: widget.readOnly,
onFieldSubmitted: widget.onSubmitted,
textInputAction: widget.textInputAction,
controller: widget.controller,