Comments (4)
1+
from intl_phone_field.
you can wrap your widget with Directionality like this :
Directionality(
textDirection: TextDirection.ltr,
child: IntlPhoneField(
key: key,
onSaved: onSaved,
onChanged: onChanged,
initialValue: initialValue ?? '',
initialCountryCode: initialCountryCode ?? 'SA',
showDropdownIcon: false,
pickerDialogStyle: PickerDialogStyle(
countryNameStyle: Get.textTheme.bodyText2),
style: style ?? Get.textTheme.bodyText2,
textAlign: textAlign ?? TextAlign.end,
disableLengthCheck: false,
autovalidateMode: AutovalidateMode.disabled,
decoration: InputDecoration(
hintText: hintText ?? '',
hintStyle: Get.textTheme.caption,
floatingLabelBehavior: FloatingLabelBehavior.never,
contentPadding: EdgeInsets.all(0),
border: OutlineInputBorder(borderSide: BorderSide.none),
focusedBorder:
OutlineInputBorder(borderSide: BorderSide.none),
enabledBorder:
OutlineInputBorder(borderSide: BorderSide.none),
suffixIcon: suffixIcon,
suffix: suffix,
errorText: errorText,
)),
)
from intl_phone_field.
you can wrap your widget with Directionality like this :
Directionality( textDirection: TextDirection.ltr, child: IntlPhoneField( key: key, onSaved: onSaved, onChanged: onChanged, initialValue: initialValue ?? '', initialCountryCode: initialCountryCode ?? 'SA', showDropdownIcon: false, pickerDialogStyle: PickerDialogStyle( countryNameStyle: Get.textTheme.bodyText2), style: style ?? Get.textTheme.bodyText2, textAlign: textAlign ?? TextAlign.end, disableLengthCheck: false, autovalidateMode: AutovalidateMode.disabled, decoration: InputDecoration( hintText: hintText ?? '', hintStyle: Get.textTheme.caption, floatingLabelBehavior: FloatingLabelBehavior.never, contentPadding: EdgeInsets.all(0), border: OutlineInputBorder(borderSide: BorderSide.none), focusedBorder: OutlineInputBorder(borderSide: BorderSide.none), enabledBorder: OutlineInputBorder(borderSide: BorderSide.none), suffixIcon: suffixIcon, suffix: suffix, errorText: errorText, )), )
Nothing Happend
from intl_phone_field.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 5 days. If you believe this issue is still relevant, please comment to keep it open. Thank you for your contributions.
from intl_phone_field.
Related Issues (20)
- expand and maxLines parameters not allowed
- Input Formatter
- ISO code and area code HOT 1
- country code issue HOT 1
- color text [languageCode] HOT 3
- showDialog to showModalBottomSheet
- Field Validation HOT 3
- initialCountryCode do not work with country dial code HOT 2
- PickerDialog search TextField text style changing option not available HOT 1
- When Keyboard open it gives bottom over flow error for landscape mode
- Drop down BackGround color
- update Italy, correct is +39 HOT 5
- Madagascar phone number length is 9, not 10 HOT 1
- Field Validation Doesn't Work Perfectly HOT 1
- Search country field
- VALIDATION IS NOT PERFECT HOT 1
- Useless memory usage
- initialCountryCode number not working HOT 1
- On LightTheme environment the flag is not displaying HOT 1
- Country number count error for some countries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intl_phone_field.