[FIX] Fixed state key.

This commit is contained in:
2024-05-27 18:05:17 +03:00
parent 9127c40217
commit b12b2cd3c2
2 changed files with 5 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ export 'src/style.dart';
class AstromicFields {
//S1 -- Text Field
static Widget text({
Key? key,
required TextEditingController controller,
Key? stateKey,
//
void Function(String v)? onChanged,
void Function(String v)? onSubmited,
@@ -39,8 +39,8 @@ class AstromicFields {
Column(
children: [
AstromicTextField(
key: key,
textController: controller,
stateKey: stateKey,
onChanged: onChanged,
onSubmited: onSubmited,
configuration: configuration,