nikolaydymura / native_filters

MIT License
25 stars 11 forks source link

Cannot access to GPUImageFilter attributes #2

Closed miyakeryo closed 2 years ago

miyakeryo commented 3 years ago

E/flutter ( 5278): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Unsupported operation: Cannot set value in unmodifiable Map
E/flutter ( 5278): #0      _ImmutableMap.[]= (dart:core-patch/immutable_map.dart:74:5)
E/flutter ( 5278): #1      _GPUImageFilter.attributes.<anonymous closure> (package:native_filters/gpu_image/filter.dart:24:14)
E/flutter ( 5278): #2      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
E/flutter ( 5278): #3      _GPUImageFilter.attributes (package:native_filters/gpu_image/filter.dart:15:16)
E/flutter ( 5278): #4      _MyAppState._prepare (package:nativefilters_example/main_android.dart:27:34)
E/flutter ( 5278): <asynchronous suspension>
``