title: App works perfectly in debug mode but not in release mode- flutter run --release
body: <p>My app is working perfectly in debug mode but not in release mode. it is gone froze for a while and all views are not perfectly displaying in release mode and console shows 'Another exception was thrown: Instance of'DiagnosticsProperty' is there any solution?</p>