update ui

This commit is contained in:
tzw
2025-04-02 17:07:09 +06:30
parent f1c5342ae4
commit 73ad5603ba
5 changed files with 71 additions and 65 deletions

View File

@@ -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),