如何在 Flutter 中用 CircleAvatar 替换抽屉的汉堡包图标?

How do I replace the hamburger icon of a drawer with a CircleAvatar in Flutter?

我正在尝试复制这个。

Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title:Text('hi'),
        leading: IconButton(
          icon: Icon(Icons.accessible),
          onPressed: () => Scaffold.of(context).openDrawer(),
        ),
      ),
);

给你..我会工作。