We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_bottomItem(String title, String normalIcon, String selectIcon) { return BottomNavigationBarItem( icon: Image.asset(normalIcon, width: 24, height: 24), activeIcon: Image.asset(selectIcon, width: 24, height: 24), // title:title); title: Padding( padding: EdgeInsets.only(top: 5), child: Text(title, style: TextStyle(color: Color(0xff000000), fontSize: 14))), ); }
The text was updated successfully, but these errors were encountered:
前阵子升级Flutter SDK版本,label是1.12版本推荐使用的,你可以升级一下你的本地Flutter SDK
Sorry, something went wrong.
No branches or pull requests
_bottomItem(String title, String normalIcon, String selectIcon) {
return BottomNavigationBarItem(
icon: Image.asset(normalIcon, width: 24, height: 24),
activeIcon: Image.asset(selectIcon, width: 24, height: 24),
// title:title);
title: Padding(
padding: EdgeInsets.only(top: 5),
child: Text(title,
style: TextStyle(color: Color(0xff000000), fontSize: 14))),
);
}
The text was updated successfully, but these errors were encountered: