An open API service indexing awesome lists of open source software.

https://github.com/msfm2018/simple_tree

pub.dev组件
https://github.com/msfm2018/simple_tree

flutterweb web

Last synced: about 2 months ago
JSON representation

pub.dev组件

Awesome Lists containing this project

README

          

#### 应用截图



## 数据定义

import 'package:simple_tree/simple_tree.dart';

```数据定义
参考demo
```

## 使用方法
```
home.dart

void initState() {
super.initState();
//可定义可不定义样式
// Config.style = const TextStyle(fontSize: 20.0, color: Colors.blue);
Config.init(myAppPages);
}

Widget build(BuildContext context) {
return Scaffold(
key: scaffoldStateKey,
appBar: getAppBar(),
body: TreeWidget(data: data),
);
}
```