idle
This commit is contained in:
@@ -185,9 +185,7 @@ class _FileExplorerState extends State<FileExplorer> {
|
|||||||
curve: Curves.easeInOut,
|
curve: Curves.easeInOut,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(top: 2),
|
padding: const EdgeInsets.only(top: 2),
|
||||||
child: Row(
|
child: IconButton(
|
||||||
children: [
|
|
||||||
IconButton(
|
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
_isSearching ? Icons.close : Icons.search,
|
_isSearching ? Icons.close : Icons.search,
|
||||||
color: AppTheme.accentColor,
|
color: AppTheme.accentColor,
|
||||||
@@ -215,9 +213,14 @@ class _FileExplorerState extends State<FileExplorer> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
const SizedBox(width: 800),
|
),
|
||||||
|
),
|
||||||
BlocBuilder<FileBrowserBloc, FileBrowserState>(
|
Positioned(
|
||||||
|
right: 0,
|
||||||
|
top: 0,
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 2),
|
||||||
|
child: BlocBuilder<FileBrowserBloc, FileBrowserState>(
|
||||||
builder: (context, state) {
|
builder: (context, state) {
|
||||||
String currentSort = 'name';
|
String currentSort = 'name';
|
||||||
bool isAscending = true;
|
bool isAscending = true;
|
||||||
@@ -291,10 +294,7 @@ class _FileExplorerState extends State<FileExplorer> {
|
|||||||
highlightColor: Colors.transparent,
|
highlightColor: Colors.transparent,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
context.read<FileBrowserBloc>().add(
|
context.read<FileBrowserBloc>().add(
|
||||||
ApplySort(
|
ApplySort(currentSort, isAscending: !isAscending),
|
||||||
currentSort,
|
|
||||||
isAscending: !isAscending,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
@@ -302,8 +302,6 @@ class _FileExplorerState extends State<FileExplorer> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (_showField)
|
if (_showField)
|
||||||
|
|||||||
Reference in New Issue
Block a user