Enhance button styling in breadcrumb navigation for improved usability
This commit is contained in:
@@ -1400,6 +1400,12 @@ class _FileExplorerState extends State<FileExplorer> {
|
|||||||
child: Row(
|
child: Row(
|
||||||
children: state.breadcrumbs.map((breadcrumb) {
|
children: state.breadcrumbs.map((breadcrumb) {
|
||||||
return TextButton(
|
return TextButton(
|
||||||
|
style: TextButton.styleFrom(
|
||||||
|
padding: EdgeInsets.zero,
|
||||||
|
minimumSize: Size.zero,
|
||||||
|
tapTargetSize:
|
||||||
|
MaterialTapTargetSize.shrinkWrap,
|
||||||
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
context.read<FileBrowserBloc>().add(
|
context.read<FileBrowserBloc>().add(
|
||||||
NavigateToFolder(breadcrumb.path),
|
NavigateToFolder(breadcrumb.path),
|
||||||
|
|||||||
Reference in New Issue
Block a user