import 'package:flutter/material.dart'; import 'package:iroute/app/res/fx_icon.dart'; Map drawMenus = { 'path': '/draw', 'icon': FxIcon.icon_paint, 'label': '绘制-妙笔生花', 'children': [ { 'path': '/chapter1', 'label': '1.纯粹的世界', }, { 'path': '/chapter2', 'label': '2.认识画笔的属性', }, { 'path': '/chapter3', 'label': '3.画布绘制基础操作', }, { 'path': '/chapter4', 'label': '4.画布绘制图片文字', }, { 'path': '/chapter5', 'label': '5.路径的图形添加', }, { 'path': '/chapter6', 'label': '6.路径的操作方法', }, { 'path': '/chapter7', 'label': '7.熟悉而陌生的颜色', }, { 'path': '/chapter8', 'label': '8.着色器和过滤器', }, { 'path': '/chapter9', 'label': '9.世界之基-CustomPainter', }, { 'path': '/chapter10', 'label': '10.绘制中使用动画', }, { 'path': '/chapter11', 'label': '11.动画器曲线和方法', }, { 'path': '/chapter12', 'label': '12.手势在绘制中的使用', }, { 'path': '/chapter13', 'label': '13.Path 与曲线拟合', }, { 'path': '/chapter14', 'label': '14.认知贝塞尔曲线', }, { 'path': '/chapter15', 'label': '15.使用贝塞尔曲线', }, { 'path': '/chapter16', 'label': '16.简单统计图表绘制', }, { 'path': '/chapter17', 'label': '17.复杂图表绘制', }, { 'path': '/chapter18', 'label': '18.粒子物理运动', }, { 'path': '/chapter19', 'label': '19.粒子背景效果', }, { 'path': '/chapter20', 'label': '20.粒子时钟', }, { 'path': '/chapter21', 'label': '21.[番外]数学中的角度知识', } ] };