首页 > 解决方案 > 如何在 Flutter 中使用 TabBar 中的 overlayColor?

问题描述

Material Design TabBar支持命名参数,该参数overlayColor定义为MaterialStateProperty<Color?>? overlayColor.

我无法使用它,也找不到任何使用它的 TabBar 示例。有谁知道如何使用它?

标签: fluttertabbar

解决方案


推荐阅读