update ui

This commit is contained in:
tzw
2025-04-02 15:02:49 +06:30
parent 17ca3e2a3f
commit f1c5342ae4
16 changed files with 253 additions and 245 deletions

View File

@@ -147,19 +147,15 @@ class _PackageEditorState extends State<PackageEditor> {
),
img,
Divider(),
SizedBox(
height: 15,
),
SizedBox(height: 15),
marketDropdown(),
SizedBox(height: 5),
descBox,
SizedBox(height: 5),
remarkBox,
SizedBox(
height: 20,
),
SizedBox(height: 20),
selectBtn,
SizedBox(
height: 20,
)
SizedBox(height: 20)
],
),
),
@@ -179,7 +175,7 @@ class _PackageEditorState extends State<PackageEditor> {
return Row(
children: [
Padding(
padding: const EdgeInsets.only(left: 0, right: 10),
padding: const EdgeInsets.only(right: 15),
child: Icon(Icons.store, color: primaryColor),
),
Expanded(
@@ -199,10 +195,7 @@ class _PackageEditorState extends State<PackageEditor> {
isDense: true,
value: selectedMarket,
style: TextStyle(color: Colors.black, fontSize: 14),
underline: Container(
height: 1,
color: Colors.grey,
),
underline: Container(height: 1, color: primaryColor),
onChanged: (String? newValue) {
setState(() {
if (newValue == MANAGE_MARKET) {
@@ -222,7 +215,7 @@ class _PackageEditorState extends State<PackageEditor> {
style: TextStyle(
color: value == MANAGE_MARKET
? secondaryColor
: primaryColor)),
: Colors.black)),
);
}).toList(),
),