rameez_animated_login_screen 0.0.6 copy "rameez_animated_login_screen: ^0.0.6" to clipboard
rameez_animated_login_screen: ^0.0.6 copied to clipboard

Animated Login Screen.

TODO: Its the First version need improvements.

Features #

This is a ready made login screen with some annimation if you pass the flare image Test.flr which is availabe in example it will auto handle the animations

Getting started #

flutter pub add rameez_animated_login_screen

Usage #

TODO: Example availabe in /example folder.

RameezAnimatedLoginScreen(
                //flareController: flareController,
                passwordFieldCaretMovement: (Offset globalCaretPosition) {},
                userFieldCaretMovement: (Offset globalCaretPosition) {},
                //flareImage: 'assets/Test.flr',
                routeAfterSuccessFulSignIn: () {
                  Navigator.of(context).push(
                    MaterialPageRoute<void>(
                      builder: (BuildContext context) => const Page1(),
                    ),
                  );
                },
                validateUserNameAndPassword: validate,
                defaultAnimation: true, passwordLabel: 'Enter Password',
                usernameLabel: 'Enter User Name',
              )

              bool validate(LoginData loginData) {
    print(loginData.password);
    print(loginData.name);
    if (loginData.name == "ram" && loginData.password == "rame") {
      return true;
    }
    return false;
  }

How It Works #

How example looks

Additional information #

TODO: Please suggest improvements as its my first package and is learning more.

20
likes
110
pub points
22%
popularity

Publisher

unverified uploader

Animated Login Screen.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flare_flutter, flutter, flutter_spinkit, quiver

More

Packages that depend on rameez_animated_login_screen