flutter_hide_show_password_input 0.0.1

Flutter Android iOS web

Toggle password input.

flutter_hide_show_password_input #

ezgif-1-34ddeac7c0dd

Installation #

Add flutter_hide_show_password_input to your pubspec.yamlfile.

Usage #

import 'package:flutter/material.dart';
import 'package:flutter_hide_show_password_input/flutter_hide_show_password_input.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      color: Colors.grey,
      home: Scaffold(
        appBar: AppBar(
          title: Text('Password Input Text'),
          backgroundColor: Colors.black87,
        ),
        body: Container(
            child: Padding(
          padding: const EdgeInsets.all(8.0),
          child: PasswordInputText(),
        )),
      ),
    );
  }
}