Skip to content

Commit b5f3059

Browse files
add hint text
1 parent 02bbdbd commit b5f3059

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

example/lib/main.dart

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,16 @@ class _MyAppState extends State<MyApp> {
150150
onPressed: _login(_withFacebook),
151151
child: const Text('Facebook'),
152152
),
153-
const SizedBox(height: 8),
154-
TextField(
155-
controller: textEditingController,
153+
Padding(
154+
padding: const EdgeInsets.all(8.0),
155+
child: TextField(
156+
controller: textEditingController,
157+
decoration: const InputDecoration(
158+
border: OutlineInputBorder(),
159+
hintText: "[email protected]",
160+
),
161+
),
156162
),
157-
const SizedBox(height: 8),
158163
ElevatedButton(
159164
onPressed: _login(_withEmailPasswordless),
160165
child: const Text('Email Passwordless'),

0 commit comments

Comments
 (0)