Skip to content

Incorrect display, half of the notification not visible, null exception #152

Description

@Shajk0

As already described in the title, half of the notification is not visible, and I get the following error message in crashlytics:

Null check operator used on a null value
Fatal Exception: FlutterError
0 ??? 0x0 MediaQuery._of + 1235 (media_query.dart:1235)
1 ??? 0x0 MediaQuery.of + 1230 (media_query.dart:1230)
2 ??? 0x0 _OverlayHelper.alignmentToLeftPos + 106 (overlay_helper.dart:106)
3 ??? 0x0 ElegantNotification._overlayEntryBuilder. + 464 (elegant_notification.dart:464)
4 ??? 0x0 _OverlayEntryWidgetState.build + 417 (overlay.dart:417)
5 ??? 0x0 StatefulElement.build + 5841 (framework.dart:5841)
6 ??? 0x0 ComponentElement.performRebuild + 5733 (framework.dart:5733)
7 ??? 0x0 StatefulElement.performRebuild + 5892 (framework.dart:5892)
8 ??? 0x0 Element.rebuild + 5445 (framework.dart:5445)
9 ??? 0x0 StatefulElement.update + 5917 (framework.dart:5917)
10 ??? 0x0 Element.updateChild + 3998 (framework.dart:3998)

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