Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TextFormField(
validator: (value) {
if (value.isEmpty) {
return 'Escribe el código de barras';
}
return null;
},
decoration: InputDecoration(
hintText: 'Escribe el código',
labelText: "Código de barras",
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment