Skip to content

PanFlareActor throws error if activeAreas->RelativePanArea does not have debugArea value #5

@ganeshp0001

Description

@ganeshp0001

First of all, thank you for your efforts & great package.
Following code throws a runtime exception if I do not include debugArea value. If I enter debugArea as true/false, it works as expected.

PanFlareActor(
        width: 135.0,
        height: size.height,
        filename: 'filepath',
        openAnimation: 'Open',
        closeAnimation: 'close',
        direction: ActorAdvancingDirection.RightToLeft,
        threshold: 20.0,
        reverseOnRelease: true,
        completeOnThresholdReached: true,
        activeAreas: [
          RelativePanArea(
            area: Rect.fromLTWH(0, 0.7, 1.0, 0.3),
          ),
        ],
      ),

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