form_animate_wrap 0.0.3 copy "form_animate_wrap: ^0.0.3" to clipboard
form_animate_wrap: ^0.0.3 copied to clipboard

A new Flutter package

Animated wrappers which can used to wrap around TextFormField to get some nice interactions

Installation #

In the pubspec.yaml of your flutter project, add the following dependency:

form_animate_wrap: ^0.0.3

Import it to each file you use it in:

import 'package:form_animate_wrap/form_animate_wrap.dart';

Usage #

Anime Validator #

Anime Validators Demo

This wrapper is used to wrap around TextFormField if you need a animation to the TextFormField on event such as validation error.

TextEditingController firstNameController = TextEditingController();

AnimeValidator(
   enableAnimation: true,
   child: CustomTextFormField( 
     controller: firstNameController,
     hintTextVal: "First Name",
  )),

Glow Selector #

Glow Selector Demo

This wrapper can be used to identify the selected TextFormField. Imagine if there are multiple TextFormFields it would be difficult to identify the selected field at once. But with this wrapper it will make easier to identify.

FocusNode firstNameNode = FocusNode();

GlowSelector(
   borderRadius: 15,
   enableFocusGlowing: true,
   focusGlowColor: Colors.blueAccent,
   focusNode: firstNameNode,
   child: CustomTextFormField(
     focusNode: firstNameNode,
     hintTextVal: "First Name",
   )),

Glow Validator #

Glow Selector Demo

This wrapper can be used to validate TextField based on the condition. For example you can set wrapper to glow if the text is empty on submit the form

1
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on form_animate_wrap