0 purchases
text field custom advance
Put a short description of the package here that helps potential users
know whether this package might be useful for them.
Features #
List what your package can do. Maybe include images, gifs, or videos.
Getting started #
TODO: List prerequisites and provide or point to information on how to
start using the package.
Usage #
class CustomField extends StatefulWidget {
const CustomField({super.key});
@override
State<CustomField> createState() => _CustomFieldState();
}
class _CustomFieldState extends State<CustomField> {
@override
Widget build(BuildContext context) {
return CustomTextFields(
hintFontWeight: mediumFontWeight, //labelTextFontSize: 16,
hintText: yourEmail,
filled: true,
hintColor: tertiaryColor,
controller: _authViewModel.loginEmailController,
contentPadding: const EdgeInsets.all(16),
textInputAction: TextInputAction.next,
focusNode: _authViewModel.loginEmailFocusNode,
onFieldSubmitted: (p0) {
FocusScope.of(context)
.requestFocus(_authViewModel.loginPassFocusNode);
},
focusedBorderColor: primaryColor,
fillColor: Colors.grey.shade300,
);
}
}
const like = 'sample';
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.