Giter VIP home page Giter VIP logo

platform_alert_dialog's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

platform_alert_dialog's Issues

'alertDialogLabel' was called on null on iOS

NoSuchMethodError: The getter 'alertDialogLabel' was called on null on iOS but on android working well.

I found how to fix,
on you main file, in you MaterialApp, add this lines;
localizationsDelegates: [ GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, DefaultCupertinoLocalizations.delegate, GlobalCupertinoLocalizations.delegate // this line fixes. Please update the package. ], supportedLocales: [ const Locale('en'), // ],

plugin is not dark mode aware

Please provide parameters to customize the colors used (where caller manages dark mode) or make the colors dark mode aware to match the system/platform pallets.

Flutter Web is not supported

On pub.dev this plugin is listed as supporting Flutter Web, however that is not actually the case. Here is the error message and stack trace:

════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building PlatformAlertDialog(dirty, dependencies: [_InheritedTheme, _LocalizationsScope-[GlobalKey#99ca8]]):
A build function returned null.

The offending widget is: PlatformAlertDialog
Build functions must never return null.

To return an empty space that causes the building widget to fill available room, return "Container()". To return an empty space that takes as little room as possible, return "Container(width: 0.0, height: 0.0)".

The relevant error-causing widget was
    PlatformAlertDialog 
lib\…\rankings\rating_explanation_footer.dart:31
When the exception was thrown, this was the stack
throw_ (C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart:212:49))
<fn> (packages/flutter/src/widgets/debug.dart:302:7))
debugWidgetBuilderValue (packages/flutter/src/widgets/debug.dart:322:5))
performRebuild (packages/flutter/src/widgets/framework.dart:4632:7))
rebuild (packages/flutter/src/widgets/framework.dart:4343:5))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.