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

Flutter login package from Neuron with love.

Neuron Login #

Build Status

Flutter login package from Neuron with 🥰 . Supports for iOS and Android.

Usage #

Add this line to pubspec.yaml

   dependencies:
     neuron_login:

Import #

import 'package:neuron_login/neuron_login.dart';

Example #

  LoginPage(
    buttonColor: Colors.red,
    splashButtonColor: Colors.grey,
    buttonText: 'SELANJUTNYA',
    buttonTextColor: Colors.white,
    base64Image: 'assets/images/logo_tsat.png',
    forgotPassword: true,
    forgotPasswordText: 'Lupa Password?',
    forgotPasswordTextColor: Colors.red,
    buttonRegisterColor: Colors.grey,
    splashButtonRegisterColor: Colors.grey,
    buttonRegisterText: 'DAFTAR',
    buttonRegisterTextColor: Colors.white,
    buttonRegister: true,
    labelInputUsername: 'E-mail',
    labelInputPassword: 'Password',
    onButtonTap: (loginData) {
      print(loginData.username);
      print(loginData.password);
      print(loginData.rememberMe.toString());
    },
    onForgotPasswordTap: (boolean){
      print('Forgot Password Tapped');
    },
    onButtonRegisterTap: (boolean){
      print('Button Register Tapped');
    },
  ),
Function Description Return
buttonColor Set color for button submit
splashButtonColor Set splash button submit color
buttonText Set text for button submit
buttonTextColor Set text color for button submit
base64Image Image asset link
forgotPassword Show or hide forgot password
forgotPasswordText Set text for forgot password text
forgotPasswordTextColor Set text color for forgot password
buttonRegisterColor Set color for button register
splashButtonRegisterColor Set splash button register color
buttonRegisterText Set text for button register
buttonRegisterTextColor Set text color for button register
buttonRegister Show or hide button register
labelInputUsername Label and hint text for input username
labelInputPassword Label and hint text for input password
onButtonTap Return if button login tapped String username
String password
boolean rememberMe
onForgotPasswordTap Return if text forgot password tapped boolean
onButtonRegisterTap Return if button register tapped boolean

UI #

image

Getting Started #

See the example directory for a complete sample app using Neuron Login.

1
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Flutter login package from Neuron with love.

Repository (GitHub)
View/report issues

License

LGPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on neuron_login