GraphView<V, G> constructor
GraphView<V, G> (
- Graph<
V> graph, { - Key? key,
- required GraphViewBuildDelegate<
V, G> buildDelegate, - required GraphViewLayoutDelegate<
V> layoutDelegate, - GraphViewOrientation orientation = GraphViewOrientation.vertical,
- GraphViewThemeData? theme,
- GraphViewThemeData? darkTheme,
- GraphViewController? controller,
- GraphViewRecorder? recorder,
- GraphViewGrouping<
V, G> ? grouping, - bool useAppTheme = true,
Implementation
GraphView(
this.graph, {
super.key,
required this.buildDelegate,
required this.layoutDelegate,
this.orientation = GraphViewOrientation.vertical,
this.theme,
this.darkTheme,
GraphViewController? controller,
this.recorder,
this.grouping,
this.useAppTheme = true,
}) : controller = controller ?? GraphViewController();