flutter_input_kit

pub package

Semantic form fields and code-only validators for Lemsa apps.

Platforms: Android, iOS, Linux, macOS, Web, Windows
Requires: Flutter >=3.44.0

Install

dependencies:
  flutter_input_kit: ^1.1.0
  flutter_page_kit: ^1.0.0
  lemsa_core_kit: ^1.0.0
  flutter_scale_kit: ^2.0.2
  flutter_scale_theme_kit: ^1.0.3
import 'package:flutter_page_kit/flutter_page_kit.dart' hide Validators;
import 'package:flutter_input_kit/flutter_input_kit.dart';

Owns

  • Validators / ErrorCodes — pure functions, machine codes only
  • FieldSpec + FieldStyle
  • Semantic fields: EmailField, PasswordField, PhoneField, MoneyField, DateField, SearchField, …
  • ListField<T> — dynamic rows
  • Countries — Countries.all (ISO, dial code, English name), byIso, byDialCode, search, flag emoji (no image assets)
  • showCountryPicker / CountryPickerList — searchable picker with pinned favorites and localized names via nameOf; CountryField shows the flag
final picked = await showCountryPicker(
  context,
  favorites: const ['DZ', 'FR'],
  searchHint: t.search,
  nameOf: (c) => t.countries[c.iso2] ?? c.name,
);

Labels and errorText are localized at the call site (e.g. slang), not inside fields.

Agent skill

npx skills add fodilfliti/flutter_input_kit
# or: npx skills add fodilfliti/lemsa-skills

Libraries

flutter_input_kit
Semantic form fields and code-only validators.