update ui
This commit is contained in:
@@ -90,6 +90,7 @@ class _TermEditorState extends State<TermEditor> {
|
||||
title:
|
||||
LocalText(context, 'term', fontSize: 20, color: primaryColor),
|
||||
bottom: TabBar.secondary(
|
||||
dividerColor: Colors.grey.shade400,
|
||||
indicatorColor: primaryColor,
|
||||
labelColor: primaryColor,
|
||||
labelStyle:
|
||||
@@ -117,14 +118,16 @@ class _TermEditorState extends State<TermEditor> {
|
||||
children: [
|
||||
isEdit
|
||||
? Padding(
|
||||
padding: const EdgeInsets.all(15),
|
||||
padding: const EdgeInsets.only(
|
||||
left: 15, right: 15, top: 20, bottom: 8),
|
||||
child: TextField(
|
||||
autofocus: true,
|
||||
controller: enController,
|
||||
style: TextStyle(
|
||||
fontSize: 15, color: Colors.black87),
|
||||
decoration: const InputDecoration(
|
||||
border: InputBorder.none),
|
||||
border: InputBorder.none,
|
||||
),
|
||||
cursorColor: primaryColor,
|
||||
keyboardType: TextInputType.multiline,
|
||||
maxLines: null,
|
||||
@@ -149,7 +152,8 @@ class _TermEditorState extends State<TermEditor> {
|
||||
),
|
||||
isEdit
|
||||
? Padding(
|
||||
padding: const EdgeInsets.all(15),
|
||||
padding: const EdgeInsets.only(
|
||||
left: 15, right: 15, top: 20, bottom: 8),
|
||||
child: TextField(
|
||||
style: TextStyle(
|
||||
fontSize: 14, color: Colors.black87),
|
||||
|
||||
Reference in New Issue
Block a user