/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_datagrid-20.4.48/lib/src/datagrid_widget/widgets/cell_widget.dart:700:31: Error: Property 'context' cannot be accessed on 'OverlayState?' because it is potentially null.
- 'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/overlay.dart').
Try accessing using ?. instead.
Overlay.of(context).context.findRenderObject()! as RenderBox;
Giving error on running the program!
Based on the information you have provided, it appears that you may be using an outdated version of the Flutter SDK. I have tested the DataGrid using the latest version (3.7.1) and have not encountered the issue you have described.
To help resolve the issue you are experiencing, we recommend upgrading your Flutter SDK to the latest stable version (3.7.1). This may resolve the issue you are experiencing.