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

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

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.6

Import it to each file you use it in:

import 'package:form_animate_wrap/form_animate_wrap.dart';

Usage #

Anime Validator #

Radio Group 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 #

Radio Group 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 #

Radio Group 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

TextEditingController firstNameController = TextEditingController();

GlowValidator(
   borderRadius: 15,
   enableAnimation: true,
   child: CustomTextFormField(
     controller: firstNameController,
   hintTextVal: "First Name",
  )),
1
likes
140
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on form_animate_wrap