john_utils

Last updated:

0 purchases

john_utils Image
john_utils Images
Add to Cart

Description:

john utils

This is simple and yet fancy textform field component which can be used in any form validation or login page.
Features #
This TextFormField offers wide range support with beautiful fill in color and border without loosing any property of TextField.
Usage #
There are number of textfield property that you can use and modify:

secure text(Secure Text)
suffix widget
prefix widget
selected border color
filled color
line height for normal text field and detail description field





class MyAppCard extends StatefulWidget {
const MyAppCard({Key? key}) : super(key: key);
@override
_MyAppCardState createState() => _MyAppCardState();
}
class _MyAppCardState extends State<MyAppCard> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: ElegantInputField(
hintText: 'Enter username',
labelText: 'Username',
filledColor: Colors.grey.shade200,
onChange: (String st) {},
prefixWidget: const Icon(Icons.person),
onDone: () {},
),
);
}
}
copied to clipboard







Additional information #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.