File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ import 'package:flutter/material.dart';
22
33/// Internal password field component with visibility toggle
44class SupaPasswordField extends StatefulWidget {
5+
6+ final FocusNode ? focusNode;
7+
58 /// Controller for the password field
69 final TextEditingController controller;
710
@@ -36,6 +39,7 @@ class SupaPasswordField extends StatefulWidget {
3639 this .textInputAction,
3740 this .onFieldSubmitted,
3841 this .autovalidateMode,
42+ this .focusNode,
3943 });
4044
4145 @override
@@ -48,6 +52,7 @@ class _SupaPasswordFieldState extends State<SupaPasswordField> {
4852 @override
4953 Widget build (BuildContext context) {
5054 return TextFormField (
55+ focusNode: widget.focusNode,
5156 controller: widget.controller,
5257 validator: widget.validator,
5358 obscureText: _obscureText,
You can’t perform that action at this time.
0 commit comments