ueman / feedback

A simple widget for getting better feedback.
https://pub.dev/packages/feedback
395 stars 96 forks source link

EasyLoading Dialog not working when showAlert #288

Open kekko7072 opened 6 months ago

kekko7072 commented 6 months ago

Version

3.0.1

Library

feedback

Flutter channel

stable

Flutter version

3.18.3

Platform

Web

Details

When i launch showDialog and inside there is a function with EasyLoading.show() the dialog of EasyLoading it's not shown with this package installed and wrapped the application. This is the configuration i think i should pass but it's not possible to pass on Feedback: builder: EasyLoading.init(),

Steps to reproduce

Do something nested like this: BetterFeedback( feedbackBuilder: (context, onSubmit, scrollController) => CustomFeedbackForm( primaryColor: AppStyle.primaryMaterialColor, onSubmit: onSubmit, scrollController: scrollController, ), theme: kFeedbackThemeData, localizationsDelegates: [ GlobalFeedbackLocalizationsDelegate(), ], mode: FeedbackMode.draw, pixelRatio: 1, child: MaterialApp( debugShowCheckedModeBanner: false, theme: ThemeData( useMaterial3: true, colorScheme: ColorScheme.fromSwatch( primarySwatch: AppStyle.primaryMaterialColor), ), builder: EasyLoading.init(),

Output of flutter doctor -v

[✓] Flutter (Channel stable, 3.19.3, on macOS 14.4 23E214 darwin-arm64, locale en-GB) • Flutter version 3.19.3 on channel stable at /Users/francescovezzani/Developer/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ba39319843 (2 weeks ago), 2024-03-07 15:22:21 -0600 • Engine revision 2e4ba9c6fb • Dart version 3.3.1 • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/francescovezzani/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3) • Xcode at /Applications/Xcode-15.3.0-Release.Candidate.2.ap p/Contents/Developer • Build 15E204a • CocoaPods version 1.15.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2) • Android Studio at /Applications/Android Studio.app/Contents • 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 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.87.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.84.0

[✓] Connected device (2 available) • macOS (desktop) • macos • darwin-arm64 • macOS 14.4 23E214 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.59 ! Error: Browsing on the local area network for iPhone di Mara. 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 Francesco’s Apple Watch. Ensure the device is unlocked and discoverable via Bluetooth. (code -27) ! Error: Browsing on the local area network for iPhone di Francesco. 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 iPad di Francesco. 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 • All expected network resources are available.

• No issues found!