mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
Popup menu UI optimization & request highlighting
This commit is contained in:
@@ -143,8 +143,7 @@ class RequestSequenceState extends State<RequestSequence> with AutomaticKeepAliv
|
||||
Divider(thickness: 0.2, height: 0, color: Theme.of(context).dividerColor),
|
||||
itemCount: view.length,
|
||||
itemBuilder: (context, index) {
|
||||
GlobalKey<RequestRowState> key = GlobalKey();
|
||||
indexes[view.elementAt(index)] = key;
|
||||
GlobalKey<RequestRowState> key = indexes[view.elementAt(index)] ??= GlobalKey();
|
||||
return RequestRow(
|
||||
index: view.length - index,
|
||||
key: key,
|
||||
|
||||
Reference in New Issue
Block a user