Skip to content

[BUG] Elevation Parameter has no effect #26

@SchnMar

Description

@SchnMar

Describe the bug (描述)
I'm using the following code:

appBarTheme: const AppBarTheme(
                brightness: Brightness.light,
                elevation: 100.0,
)

on AssetPicker initialization.

But it doesn't seem to have an effect. There is still no effect displayed. Can you have a look into this? I couldn't really find a solution as you are using your own fixedAppBar implementation.

What I tried:

Changing the color of the Box Shadow: This works, but its not the elevation effect, but just an "overall" shadow on the AppBar:
Simulator-Screen-Shot-i-Phone-11-Pro-2020-05-31-at-17-46-25

My expectation:

Having some parameters or the possibility to pass my own appbar to make it look like this:
Ohne-Titel

Thank you Andrew, you are the best! Let me know if you need additional information.

Cheers,
Marcel

Metadata

Metadata

Assignees

No one assigned

    Labels

    s: UIThis issue is related with UI or layout.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions