From a1da6c43bfe8ecf44fdad00f02a042addbfd01dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Tue, 2 Jun 2026 19:50:34 +0300 Subject: [PATCH] input stub --- src/main.dart | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/main.dart b/src/main.dart index c6dd0ab..2a68e1d 100644 --- a/src/main.dart +++ b/src/main.dart @@ -32,6 +32,33 @@ class GamePage extends StatelessWidget { } } +class GuessInput extends StatelessWidget { + GuessInput({super.key, required this.onSubmitGuess}); + + final void Function(String) onSubmitGuess; + + @override + Widget build(BuildContext context) { + return Row( + children: [ + Expanded( + child: Padding( + child: TextField( + decoration: InputDecoration( + border: OutlineInputBorder( + borderRadius: BorderRadius.all(Radius.circular(35)), + ), + ), + maxLength: 5, + ), + padding: const EdgeInsets.all(8.0), + ), + ) + ] + ); + } +} + class MainApp extends StatelessWidget { const MainApp({super.key});