woltapp / wolt_modal_sheet

This package provides a responsive modal with multiple pages, motion animation for page transitions, and scrollable content within each page.
MIT License
477 stars 63 forks source link

Leading Nav Widget is distorted #287

Closed agordeev closed 1 month ago

agordeev commented 1 month ago

Reproducible on the example project without any modification.

IconButton should be round, but it's stretched vertically.

Screenshot 2024-08-04 at 11 33 02
ulusoyca commented 1 month ago

Leading nav bar widget is fully customizeable. You should be able to adjust it according to your specs. For example, with very simple modification, it looks different. Feel free to create a PR to fix this appearence.

          padding: const EdgeInsets.all(16.0),
          child: IconButton(
            icon: const Icon(Icons.arrow_back_rounded),
            onPressed: WoltModalSheet.of(modalSheetContext).showPrevious,
          ),
        ),
Before After
image image