HMTextInput constructor
const
HMTextInput({
- Key? key,
- required dynamic placeholder,
- dynamic controller,
- dynamic maxLines = 1,
- dynamic prefixIcon,
- dynamic grey = false,
Text input following HarmonyOS Design Language
Replaces TextField in Material Design.
Implementation
const HMTextInput(
{Key? key,
required this.placeholder,
this.controller,
this.maxLines = 1,
this.prefixIcon,
this.grey = false})
: super(key: key);