coword 1.0.0 copy "coword: ^1.0.0" to clipboard
coword: ^1.0.0 copied to clipboard

A package for creating widget to validate confirm password. Coword can be used for the confirmed password entered for each character is correct or not

Installing: #

In your pubspec.yaml

dependencies:
  coword: latest_version

Basic Usage #

Coword(
    passwordController: passwordController,
    confirmationPasswordController: confirmationPasswordController,
),

Types #

Dots Type #

Coword(
    passwordController: passwordController,
    confirmationPasswordController: confirmationPasswordController,
    type: CowordTypes.dots,
),

Rectangle Type #

Coword(
    passwordController: passwordController,
    confirmationPasswordController: confirmationPasswordController,
    type: CowordTypes.rectangle,
),

Animations #

Fade Animation #

Coword(
    passwordController: passwordController,
    confirmationPasswordController: confirmationPasswordController,
    cowordAnimation: const CowordAnimation.fade(
        toAnimate: true,
        animationDuration: Duration(milliseconds: 500),
        disappearanceFadeAnimationDuration: Duration(milliseconds: 200),
        curve: Curves.easeOutCubic,
    ),
),

Scale Animation #

Coword(
    passwordController: passwordController,
    confirmationPasswordController: confirmationPasswordController,
    cowordAnimation: const CowordAnimation.scale(
        toAnimate: true,
        animationDuration: Duration(milliseconds: 500),
        disappearanceFadeAnimationDuration: Duration(milliseconds: 200),
        curve: Curves.easeOutCubic,
        appearanceDisappearanceFadeAnimationEnabled: true,
    ),
),

Colors #

Match Color #

Coword(
    passwordController: passwordController,
    confirmationPasswordController: confirmationPasswordController,
    cowordStyle: const CowordStyle(
        matchedColor: Colors.blue,
    ),
),

Unmatch Color #

Coword(
    passwordController: passwordController,
    confirmationPasswordController: confirmationPasswordController,
    cowordStyle: const CowordStyle(
        unmatchedColor: Colors.purple,
    ),
),
1
likes
160
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A package for creating widget to validate confirm password. Coword can be used for the confirmed password entered for each character is correct or not

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on coword