Skip to content

Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. #8

Open
@ClecknerT

Description

@ClecknerT

I am having issues getting the speed to update when Firestore Stream is triggered. I am getting the following error which I suspect is the issue.

Built build/app/outputs/flutter-apk/app-debug.apk.
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/lib/kdgaugeview.dart:95

  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/binding.dart').
    package:flutter/…/widgets/binding.dart:1
    WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {

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