Skip to content

Build process errors #98

@chipnetics

Description

@chipnetics

Hi all, excellent project - but I tried using window_manager in my flutter app - both using the pub.dev copy and fresh off git; but I'm getting the below build errors building even the basic example in the docs.

Launching lib/main.dart on Linux in debug mode...
Building Linux application...
ERROR: ../../../snap/flutter/common/flutter/.pub-cache/git/window_manager-602e35e6467cb07528f319fae798dade67969d01/lib/src/window_manager.dart:558:32: Error: The getter 'name' isn't defined for the class 'Brightness'.
ERROR:  - 'Brightness' is from 'dart:ui'.
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
ERROR:       'brightness': brightness.name,
ERROR:                                ^^^^
ERROR: ../../../snap/flutter/common/flutter/.pub-cache/git/window_manager-602e35e6467cb07528f319fae798dade67969d01/lib/src/window_manager.dart:585:34: Error: The getter 'name' isn't defined for the class 'ResizeEdge'.
ERROR:  - 'ResizeEdge' is from 'package:window_manager/src/resize_edge.dart' ('../../../snap/flutter/common/flutter/.pub-cache/git/window_manager-602e35e6467cb07528f319fae798dade67969d01/lib/src/resize_edge.dart').
ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
ERROR:         "resizeEdge": resizeEdge.name,
ERROR:                                  ^^^^
Exception: Build process failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions