Skip to content

Commit

Permalink
Update GraphView.dart
Browse files Browse the repository at this point in the history
key is being passed to super class aswell as to other widgets in build method leading to this [issue](nabil6391#85).
  • Loading branch information
VikasJilla committed Oct 15, 2022
1 parent f1ac307 commit 4e973c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/GraphView.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ class GraphView extends StatefulWidget {
final bool animated;

GraphView(
{Key? key, required this.graph, required this.algorithm, this.paint, required this.builder, this.animated = true})
: super(key: key);
{Key? key, required this.graph, required this.algorithm, this.paint, required this.builder, this.animated = true});

@override
_GraphViewState createState() => _GraphViewState();
Expand Down

0 comments on commit 4e973c3

Please sign in to comment.