Closed EBBozkurt closed 2 years ago
https://github.com/Mindinventory/image_cropping/blob/master/lib/image_cropping.dart
remove old one : WidgetsBinding.instance?.addPostFrameCallback((timeStamp) async { topViewHeight = stackGlobalKey.globalPaintBounds?.top ?? 0; });
replace with: WidgetsBinding.instance.addPostFrameCallback((timeStamp) async { topViewHeight = stackGlobalKey.globalPaintBounds?.top ?? 0; });
Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
@EBBozkurt done 👍
https://github.com/Mindinventory/image_cropping/blob/master/lib/image_cropping.dart
remove old one : WidgetsBinding.instance?.addPostFrameCallback((timeStamp) async { topViewHeight = stackGlobalKey.globalPaintBounds?.top ?? 0; });
replace with: WidgetsBinding.instance.addPostFrameCallback((timeStamp) async { topViewHeight = stackGlobalKey.globalPaintBounds?.top ?? 0; });
Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.