buildSubCheckItem function
二级菜单
Implementation
Widget buildSubCheckItem(BuildContext context, String label, bool selected) {
Color color = selected ? Theme.of(context).primaryColor : Colors.black;
return SizedBox(
height: 45.0,
child: Row(
children: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 12.0),
child: Text(
label,
style: TextStyle(color: color),
)),
],
),
);
}