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

outdated

A new Flutter package project.

TODO: Its the First version need improvements.

Features #

TODO: 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 #

TODO: 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;
  }

Additional information #

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

20
likes
0
pub points
22%
popularity

Publisher

unverified uploader

A new Flutter package project.

Homepage

License

unknown (license)

Dependencies

flare_flutter, flutter, flutter_spinkit, quiver

More

Packages that depend on rameez_animated_login_screen