kids_auth library
kids_auth — A child-friendly Flutter authentication package.
Provides ready-to-use screens for Login, Logout, Forgot Password, and Password Reset, designed specifically for children's applications.
Quick Start
import 'package:kids_auth/kids_auth.dart';
// Navigate to the login screen
Navigator.of(context).push(MaterialPageRoute(
builder: (_) => KidsLoginScreen(
onLogin: (email, password) async {
// your auth logic here
},
),
));
Classes
- KidsAuthAdapter
-
Contract for connecting
kids_authUI to a real authentication backend. - KidsAuthButton
- A large, rounded, animated button designed for children's apps.
- KidsAuthConfig
- Configuration object passed to every kids_auth screen.
- KidsAuthConnectedFlow
- A connected auth flow that wires KidsAuthFlow to an adapter and optional persistence store.
- KidsAuthFlow
- A higher-level widget that orchestrates the built-in auth screens.
- KidsAuthIcon
- A child-friendly icon rendered via CustomPainter — no font or asset required.
- KidsAuthPersistenceStore
- Contract for persisting lightweight login UI state such as remembered email.
- KidsAuthSavedLoginState
-
Saved login state used to hydrate
kids_authlogin experiences. - KidsAuthTextField
- A large, rounded, child-friendly text field used across all auth screens.
- KidsAuthTheme
- Defines the visual theme for all kids_auth screens.
- KidsCharacterAvatar
- KidsForgotPasswordScreen
- A child-friendly "Forgot Password" screen that collects the user's email and triggers a password-reset link flow.
- KidsLoginScreen
- A child-friendly login screen with email + password fields, optional "Remember me" toggle, and a link to Forgot Password.
- KidsRegisterScreen
- A child-friendly registration screen with email, password, and confirmation fields.
- KidsResetPasswordScreen
- A child-friendly "Reset Password" screen where the user sets a new password.
Enums
- KidsAuthFlowStep
- The available steps in KidsAuthFlow.
- KidsAuthIconType
- The set of icons available in the kids_auth package.
- KidsCharacterMood
- A cute animated character mascot displayed on auth screens.