update ui
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user