Skip to content

LateInitializationError: Local 'currentPoint' has not been initialized. #816

@pksa07

Description

@pksa07

I am using syncfusion_flutter_charts: ^19.4.56 with flutter 2.2.2 version. I am getting this error while loading SfCircularChart graph after load it shows perfectly. Do you have any solution to handle this error as I can't upgrade flutter version in my project.

Error:
he relevant error-causing widget was:
SfCircularChart file:///Users/FlutterProjects/app-flutter/lib/src/ui/dashboard/widget/dashboard_graph.dart:38:16
When the exception was thrown, this was the stack:
#0 LateError._throwLocalNotInitialized (dart:_internal-patch/internal_patch.dart:208:5)
#1 getCircularPoint (package:syncfusion_flutter_charts/src/circular_chart/renderer/chart_point.dart:228:3)
#2 CircularSeriesBase.findVisibleSeries (package:syncfusion_flutter_charts/src/circular_chart/base/series_base.dart:71:26)
#3 SfCircularChartState._renderChartElements. (package:syncfusion_flutter_charts/src/circular_chart/base/circular_base.dart:950:38)
#4 _LayoutBuilderElement._layout. (package:flutter/src/widgets/layout_builder.dart:121:31)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions