我创造了一个popup menu button英寸的Flutter 翼,并改变了corner radius of the menu英寸.现在I touch one of the buttons号的时候,highlight color remain outside号的角落.有什么办法可以改变这个 colored颜色 或者改变它的半径吗?
popup menu button
corner radius of the menu
The situation I mentioned is as in the picture.
您可以使用RoundedRectangleBorder作为其形状,并将clipBehavior设置为Clip.antiAlias或Clip.hardEdge.
RoundedRectangleBorder
clipBehavior
Clip.antiAlias
Clip.hardEdge
PopupMenuButton( shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(30)), clipBehavior: Clip.antiAlias, // or Clip.hardEdge // ... )
AI技术内参 -〔洪亮劼〕
邱岳的产品实战 -〔邱岳〕
重学前端 -〔程劭非(winter)〕
透视HTTP协议 -〔罗剑锋(Chrono)〕
DevOps实战笔记 -〔石雪峰〕
设计模式之美 -〔王争〕
正则表达式入门课 -〔涂伟忠〕
分布式系统案例课 -〔杨波〕
A/B测试从0到1 -〔张博伟〕
React Hooks 核心原理与实战 -〔王沛〕
Python实战 · 从0到1搭建直播视频平台 -〔Barry〕
结构执行力 -〔李忠秋〕
无涯教程 - Python Web Scraping教程
无涯教程 - PL/SQL教程
无涯教程 - JSoup教程
无涯教程 - SQLite教程
无涯教程 - Pandas教程
无涯教程 - 通往财富自由之路精细笔记教程
无涯教程 - Python 渗透测试实战教程
无涯教程 - JavaScript 物联网编程教程