login_systems 1.0.3 copy "login_systems: ^1.0.3" to clipboard
login_systems: ^1.0.3 copied to clipboard

discontinued

A collection of login systems ready to be used in any app, currently focussing on mobile application IOS and Android. More on the way!

example/example.dart

import 'package:flutter/material.dart';

import 'package:login_systems/login_systems.dart';

main() => MyApp();

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: LoginSystem02(
          emailValidator: (String value) {
            if (value.isEmpty) {
              return 'Email cannot be empty.';
            } else {
              return null;
            }
          },
          passwordValidator: (String value) {
            if (value.isEmpty) {
              return 'Password cannot be empty';
            } else {
              return null;
            }
          },
          headerBackgroundColor: Colors.grey,
          onSignInButtonPressed: (email, password) {
            print('$email $password');
          },
          onSignUpButtonPressed: (firstName, lastName, email, password) {
            print('$firstName $lastName $email $password');
          },
        ),
      ),
    );
  }
}
4
likes
40
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of login systems ready to be used in any app, currently focussing on mobile application IOS and Android. More on the way!

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on login_systems