hive icon indicating copy to clipboard operation
hive copied to clipboard

Private list property is empty when hot restart the app when using with keyword.

Open demirdev opened this issue 3 years ago • 0 comments

Steps to Reproduce My class is like below.

class A with B, C, D { }

When i use private list properties in class B, hive works fine and put data to the box but when I hot restart the app hive gives me empty list.

For example I changed _listProperty to listProperty, hive worked right.

Version

  • Platform: iOS, Android, Mac, Windows, Linux, Web
  • Flutter version: 1.1.0
  • Hive version: 2.1.0

demirdev avatar May 03 '22 18:05 demirdev