passwordfield 0.0.3 copy "passwordfield: ^0.0.3" to clipboard
passwordfield: ^0.0.3 copied to clipboard

outdated

A new Flutter package project.

A simple and easy to use flutter package to add a passwordfield to your Flutter project.

Getting Started #

Installation #

  • Add the dependency
dependencies:
  passwordfield: ^0.0.2
  flutter:
  • Import the package
import 'package:passwordfield/passwordfield.dart';
  • Voila! use the Widget
PasswordField();

Note : The widget must be included in a Material Widget normally in a Scaffold,Card,Drawer etc

  • Example
    PasswordField(
        color: Colors.white,
        inputStyle: TextStyle(
        fontSize: 20,
        ),
        hintText: "Password",
    ),
    return Scaffold(
        backgroundColor: Colors.green,
        body: Padding(
            padding: EdgeInsets.symmetric(horizontal: 20, vertical: 20),
            child: Center(
              child: PasswordField(
                color: Colors.white,
                inputStyle: TextStyle(fontSize: 30),
                hintText: "password field",
              ),
            )));

more customizations to be made soon

your welcome to contribute to this package All you need to do is

  • fork
  • contribute
  • send a pull request