onDataSetChanged method

  1. @override
void onDataSetChanged()
override

所有数据更新

Implementation

@override
void onDataSetChanged() {
  if (mounted) {
    setState(() {});
  }
}