-
Notifications
You must be signed in to change notification settings - Fork 906
Closed
Labels
data gridData grid componentData grid component
Description
I am trying to create an app that implements syncfusion_flutter_datagrid for work research purposes, however when I run the project after adding this import import 'package:syncfusion_flutter_datagrid/datagrid.dart'; I get the following error
../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_datagrid-24.2.4/lib/src/datagrid_widget/sfdatagrid.dart:3228:20: Error: Member not found: 'MediaQuery.textScalerOf'.
MediaQuery.textScalerOf(context).scale(1));
^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_datagrid-24.2.4/lib/src/datagrid_widget/runtime/column.dart:1224:9: Error: No named parameter with the name 'textScaler'.
textScaler: TextScaler.linear(dataGridConfiguration.textScaleFactor),
^^^^^^^^^^
../../../dev/flutter/packages/flutter/lib/src/painting/text_painter.dart:489:3: Context: Found this candidate, but the arguments don't match.
TextPainter({
^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
I have had to comment out code inside the package for my app to run.
I am on the version 24.2.4
mahanvyakti
Metadata
Metadata
Assignees
Labels
data gridData grid componentData grid component