animated_textformfields 1.0.1 copy "animated_textformfields: ^1.0.1" to clipboard
animated_textformfields: ^1.0.1 copied to clipboard

A package that provides multiple animated and customized textfields for quick use.

animated_textformfields #

A Flutter package that has a collection of animated (and some not so animated) TextFormFields to make UI development faster and more beautiful.

Example #

Descriptions #

Animated TextFormField

The Animated TextFormField toggles between animatiion states based on wheter is has focus or not. When the textformfield has focus, the textformfield animates the color and the corners of the textformfield.

SlideIn TextFormField

The SlideIn TextFormField animates between the hint text showing up inside the text field when the text is empty, and above the textformfield when it is filled with text.

Custom TextFormField Lite

The Custom TextFormField is a textformfield that does not animate. It is be used to complete another animated TextFormField, but can also be used as a standalone version.

Sample #

Animated TextFormField

AnimatedTextFormField(
    width: MediaQuery.of(context).size.width * 0.875,
    height: 48.0,
    inputType: TextInputType.text,
    hintText: "Name",
    controller: textEditingControllerAnimated,
    textStyle: TextStyle(
        color: Colors.black,
        fontSize: 16.0,
    ),
    focusNode: myFocusNode,
    cornerRadius: BorderRadius.circular(14.0),
)

SlideIn TextFormField

SlideInTextFormField(
    vsync: this,
    width: MediaQuery.of(context).size.width * 0.875,
    height: 48.0,
    inputType: TextInputType.text,
    fieldText: "Name",
    controller: textEditingControllerSlideIn,
    textStyle: TextStyle(
        color: Colors.black,
        fontSize: 16.0,
    ),
    cornerRadius: BorderRadius.circular(14.0),
)

Custom TextFormField Lite

CustomTextFormFieldLite(
    width: MediaQuery.of(context).size.width * 0.875,
    height: 48.0,
    inputType: TextInputType.text,
    hintText: "Name",
    controller: textEditingControllerLite,
    textStyle: TextStyle(
        color: Colors.black,
        fontSize: 16.0,
    ),
    cornerRadius: BorderRadius.circular(14.0),
)

Author #

Follow @thealphaversion

LinkedIn: @Aditya Chakraborti

4
likes
40
pub points
27%
popularity

Publisher

unverified uploader

A package that provides multiple animated and customized textfields for quick use.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

animated_size_and_fade, flutter

More

Packages that depend on animated_textformfields