Skip to content

AnimationStyle curve and reverseCurve are not being used in showModalBottomSheet #174857

Description

@LuDColl

Steps to reproduce

  1. run showModalBottomSheet onTap

Expected results

Curves.elasticOut animation

Actual results

Curves.linear animation

Code sample

Code sample
showModalBottomSheet(
  context: context,
  sheetAnimationStyle: AnimationStyle(
    curve: Curves.elasticOut,
    duration: Duration(seconds: 2),
    reverseCurve: Curves.elasticOut,
    reverseDuration: Duration(seconds: 2),
  ),
);

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

Doctor output
[√] Flutter (Channel stable, 3.35.2, on Microsoft Windows [versÆo 10.0.26100.4946], locale pt-BR) [844ms]
    • Flutter version 3.35.2 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 05db968908 (8 days ago), 2025-08-25 10:21:35 -0700
    • Engine revision a8bfdfc394
    • Dart version 3.9.0
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging

[√] Windows Version (Windows 11 or higher, 24H2, 2009) [2,6s]

[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [5,1s]
    • Android SDK at C:\Users\lucas\AppData\Local\Android\sdk
    • Emulator version 35.6.11.0 (build_id 13610412) (CL:N/A)
    • Platform android-36, build-tools 36.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    • All Android licenses accepted.

[√] Chrome - develop for the web [537ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.12) [536ms]
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.14.36408.4
    • Windows 10 SDK version 10.0.26100.0

[√] Android Studio (version 2025.1.1) [21ms]
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)

[√] VS Code (version 1.103.2) [18ms]
    • VS Code at C:\Users\lucas\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.118.0

[√] Connected device (4 available) [631ms]
    • SM M346B (mobile) • 192.168.1.171:46641 • android-arm64  • Android 15 (API 35)
    • Windows (desktop) • windows             • windows-x64    • Microsoft Windows [versÆo 10.0.26100.4946]
    • Chrome (web)      • chrome              • web-javascript • Google Chrome 138.0.7204.184
    • Edge (web)        • edge                • web-javascript • Microsoft Edge 139.0.3405.125

[√] Network resources [1.125ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: animationAnimation APIsf: material designflutter/packages/flutter/material repository.found in release: 3.35Found to occur in 3.35found in release: 3.36Found to occur in 3.36frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions