password_validation_plus 0.0.5 password_validation_plus: ^0.0.5 copied to clipboard
This Flutter plugin offers a password validation widget to ensure strong password requirements in your Flutter applications.
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'screens/home_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Password Validation',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
textTheme: GoogleFonts.signikaTextTheme()),
home: const MyHomePage(title: 'Create Your Password'),
);
}
}