Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Container(
- padding: EdgeInsets.symmetric(
- vertical: 16.0, horizontal: 30.0),
- child: TextFormField(
- validator: (value) {
- if (value.startsWith(' ')) {
- return 'Do not start the Number of Your Clinic With Spaces';
- } else if (value.isEmpty) {
- return 'Please Enter the Number of Your Clinic';
- }
- },
- controller: Controller3,
- keyboardType: TextInputType.number,
- maxLines: null,
- decoration: InputDecoration(
- hintText: "+961...",
- labelText: "Phone Number of the Clinic",
- ),
- ),
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement