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