v1.0.4advanced_graphview
एडवांस्ड ग्राफ़व्यू उपयोगकर्ताओं को सरल सेटअप के साथ ट्री, ग्राफ़, टॉपोलॉजी UI बनाने में सक्षम बनाता है। इस पैकेज का उपयोग विभिन्न प्रवाहों को दिखाने के लिए किया जा सकता है।
nikhilishwarkulal/advanced_graphview open-source repository details.
{"sdk":"flutter"}^1.14.0{"sdk":"flutter"}^3.0.1यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Advanced Graphview enables user to create Tree, Graph, Topology Ui with simple Setup. https://luckyapp.in/assets/asstes/advanced_graphview1.gif https://luckyapp.in/assets/asstes/advanced_graphview2.gif https://luckyapp.in/assets/asstes/advanced_graphview3.gif
Advanced Graphview can create Tree, Graph, Topology Ui with simple Setup..
Add the package in pubspec.yaml and then use the widget AdvancedGraphview.
Widget exampleWidget(){
TestGraphNode getExampleNode() {
return TestGraphNode(
id: '1',
value: "Advanced Graphview",
graphNodes: [
],
);
}
return AdvancedGraphview(
nodePadding: 50,
nodeSize: 200,
isDebug: false,
graphNode: getExampleNode(),
backgroundColor: Colors.black,
pixelRatio: 10,
onNodeTap: (graphNode) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
content: Text("Tap Event detected ${graphNode.id}"),
));
},
advancedGraphviewController: advancedGraphviewController,
onDrawLine: (lineFrom, lineTwo) {
return Paint()
..color = Colors.blue
..strokeWidth = 1;
},
builder: (GraphNode graphNode) {
return Container(
width: 200,
height: 200,
child: const Center(
child: Text("Hello"),
),
);
},
);
}
class TestGraphNode extends GraphNode {
@override
final String id;
final String value;
@override
final List<GraphNode> graphNodes;
TestGraphNode({
required this.id,
required this.graphNodes,
required this.value,
});
}
For additional information contact us at nikhilishwar2@gmail.com or sharathkkotian@gmail.com. We welcome more contributors on this project.