FilledStacks / FilledStacks/smart_flare
PanFlareActor throws error if activeAreas->RelativePanArea does not have debugArea value
- Dominant language
- Dart
- Stars
- 89
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
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),
),
],
),
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating PanFlareActor and RelativePanArea, then reproduce the issue with the provided snippet while omitting debugArea. Trace how the active area is initialized and identify the expected behavior when debugArea is absent; done means the snippet runs without a runtime exception and explicit true/false values still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100