Skip to content

A value of type 'DialogThemeData' can't be assigned to a variable of type 'DialogTheme' #92

@ali-raza-flutter

Description

@ali-raza-flutter

A value of type 'DialogThemeData' can't be assigned to a variable of type 'DialogTheme'

After updating flutter version to 3.27.0 I am encountering this issue.

"Error (Xcode): ../../../.pub-cache/hosted/pub.dev/csc_picker-0.2.7/lib/dropdown_with_search.dart:320:49: Error: A value of type 'DialogThemeData' can't be assigned to a variable of type 'DialogTheme'."

Flutter Doctor result
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.0, on macOS 15.2 24C101 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.96.0)
[✓] Connected device (4 available)
! Error: Browsing on the local area network for Ali Raza’s iPhone. Ensure the device is unlocked and attached with a cable or associated
with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for Muhammad Ali’s iPhone. Ensure the device is unlocked and attached with a cable or associated
with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions