Textfield_Pro

Screenshots

Screen Shot 2022-10-05 at 1 08 07 PM Screen Shot 2022-10-05 at 1 16 02 PM Screen Shot 2022-10-05 at 1 16 10 PM

Required

before you install this package you must install responsive_sizer to make our Textfield responsive and follow the code as below :

 ResponsiveSizer( 
  builder: (context, orientation, screenType) {
    return MaterialApp(
      home: HomePage(),
    );
  },
);

Installation

Depend on it

Run this command:

With Flutter:

 $ flutter pub add textfield_pro

Usage

 TextFieldPro(
   controller: controller ,
   onChangeTextField: (value) {}, 
   hintText: 'Enter Phone',   
   label: 'Phone Number', 
   isRequired: true, 
   prefix: '(+855)', 
   isValidate: true, 
   errorMessage: 'Phone Required', 
)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.