Skip to content

Error on building release on version 1.3.6 #49

Description

@diegoalex

IOS build is failing with the following error after update to the latest version:

../programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_drawer-1.3.6/lib/src/widget.dart:250:15: Error: The getter 'mounted' isn't defined for the class 'BuildContext'.
     - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../programs/flutter/packages/flutter/lib/src/widgets/framework.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'mounted'.
      if (context.mounted) {
                  ^^^^^^^
    Failed to package /Users/builder/clone.
    Command PhaseScriptExecution failed with a nonzero exit code

Forcing the library to use 1.3.5 builds the app with no issue.

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