Fix textfield
This commit is contained in:
parent
d4418392a3
commit
9b8314c4a4
3 changed files with 5 additions and 2 deletions
|
|
@ -214,6 +214,9 @@ class _ChatState extends State<Chat> {
|
|||
SizedBox(width: 8),
|
||||
Expanded(
|
||||
child: TextField(
|
||||
maxLines: kIsWeb ? 1 : 8,
|
||||
keyboardType:
|
||||
kIsWeb ? TextInputType.text : TextInputType.multiline,
|
||||
onSubmitted: (t) => send(),
|
||||
controller: sendController,
|
||||
decoration: InputDecoration(
|
||||
|
|
|
|||
|
|
@ -19,8 +19,7 @@ class ChatListView extends StatelessWidget {
|
|||
firstScaffold: ChatList(),
|
||||
secondScaffold: Scaffold(
|
||||
body: Center(
|
||||
child: Icon(Icons.chat,
|
||||
size: 100, color: Theme.of(context).primaryColor),
|
||||
child: Image.asset("assets/logo.png", width: 100, height: 100),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue