refresh static method

Widget refresh(
  1. VoidCallback onTap, {
  2. String? tooltip,
})

Implementation

static Widget refresh(VoidCallback onTap, {String? tooltip}) {
  return IconButton(icon: const Icon(Icons.refresh_rounded), onPressed: onTap, tooltip: tooltip ?? "刷新");
}