Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported operation: Cannot add to an unmodifiable list #84

Closed
ProjectAJ14 opened this issue Dec 9, 2022 · 3 comments
Closed

Unsupported operation: Cannot add to an unmodifiable list #84

ProjectAJ14 opened this issue Dec 9, 2022 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ProjectAJ14
Copy link
Contributor

Describe the bug
Issue while adding any filter in the TalkerScreen

To Reproduce
Steps to reproduce the behavior:

  1. Go to TalkerScreen
  2. Click on any filter

Expected behavior
The filters should be added without errors

Additional context

Unsupported operation: Cannot add to an unmodifiable list

When the exception was thrown, this was the stack: 
#0      UnmodifiableListMixin.add (dart:_internal/list.dart:114:5)
#1      TalkerScreenController.addFilterTitle (package:talker_flutter/src/controller/talker_screen_controller.dart:57:56)
#2      TalkerScreenFilter._onToggleTitle (package:talker_flutter/src/ui/widgets/filter/talker_screen_filter.dart:167:18)
#3      TalkerScreenFilter.build.<anonymous closure> (package:talker_flutter/src/ui/widgets/filter/talker_screen_filter.dart:115:23)
#4      _GroupButtonBodyState._generateButtonsList.<anonymous closure> (package:group_button/src/group_button_body.dart:170:38)
#5      _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1072:21)
#6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:253:24)
#7      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:627:11)
#8      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:306:5)
#9      BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:276:7)
#10     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:163:27)
#11     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:464:20)
#12     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:440:22)
#13     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:337:11)
#14     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:395:7)
#15     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:357:5)
#16     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:314:7)
#17     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:295:7)
#18     _invoke1 (dart:ui/hooks.dart:167:13)
#19     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:341:7)
#20     _dispatchPointerDataPacket (dart:ui/hooks.dart:94:31)
Handler: "onTap"
Recognizer: TapGestureRecognizer#13c3e
  debugOwner: GestureDetector
  state: ready
  won arena
  finalPosition: Offset(44.3, 280.0)
  finalLocalPosition: Offset(34.3, 21.0)
  button: 1
  sent tap down
====================================================================================================
@Frezyx
Copy link
Owner

Frezyx commented Dec 10, 2022

Hello @ProjectAJ14 !
I see this issue. I will fix it in next release!

@Frezyx
Copy link
Owner

Frezyx commented Dec 10, 2022

You can contribute If you know how to fix it

@Frezyx Frezyx added help wanted Extra attention is needed good first issue Good for newcomers labels Dec 12, 2022
@ProjectAJ14
Copy link
Contributor Author

Hello @Frezyx , I have added a PR#85

@Frezyx Frezyx closed this as completed in 9ab6beb Dec 12, 2022
Frezyx added a commit that referenced this issue Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants