腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
如何
更改
OutlinedButton
边框
颜色
?
、
、
Flutter小部件,我尝试使用BorderSide(
颜色
: Colors.blue)
更改
OutlineButton
边框
颜色
。无论设置哪种
颜色
,OutlineButton
的
边框
都是灰色
的
,但可以
更改
宽度。
如何
更改
OutlineButton
边框
的
线条
颜色
?
浏览 9
提问于2019-09-11
得票数 13
回答已采纳
2
回答
如何
更改
OutlinedButton
的
边框
颜色
、
我想
更改
OutlinedButton
的
边框
颜色
。你能告诉我怎么做吗?
OutlinedButton
( style: ButtonStyle( textAlign: TextAlign.center), ), 我尝试过Cannot change border color in
Outlin
浏览 143
提问于2021-04-27
得票数 1
回答已采纳
1
回答
未定义“OutlineButton”方法
、
我知道OutlineButton是旧版本,新版本是
OutlinedButton
。我
的
项目:环境: sdk:">=2.11.0 <3.0.0“模块: androidX:真正
的
依赖关系: flutter: sdk: flutter flutter_localizations
浏览 3
提问于2022-08-08
得票数 0
3
回答
颤振: OutlineButton
的
侧面特性似乎没有影响。
、
、
生成具有白色
边框
的
OutlineButton: shape: RoundedRectangleBorder( color: Colors.purple ),生成带有紫色
边框
的
FlatButton: shape: RoundedRectangleBorder( color: Colors.purple ),Ou
浏览 0
提问于2018-11-01
得票数 6
回答已采纳
3
回答
无法在
OutlinedButton
中
更改
边框
颜色
、
我试图在我
的
main.dart中
更改
OutlinedButton
的
边框
,但它似乎不起作用。我一直在寻找,似乎我需要添加BorderSide。这是我
的
outlinedButtonTheme
的
样子: outlinedButtonTheme: OutlinedButtonThemeData(fontWeight: FontWeight.w600, ),
浏览 63
提问于2021-03-18
得票数 1
2
回答
Jetpack组合中勾画按钮
的
透明背景
、
、
我想要创建按钮,我只有文字和图标,所有的背景和
边框
是透明
的
。我创造了这样
的
东西: colors = ButtonDefaults.buttonColors(backgroundColor = Color.Transparentinvoke() text = value, )一切正常,但我失去了默认
的
颜色
(应该是蓝色,我有黑色图标和文字
如何</
浏览 15
提问于2021-12-03
得票数 9
回答已采纳
2
回答
Flutter:
如何
修复和添加
边框
和
颜色
到勾勒出
的
按钮?
、
、
、
有人能告诉我为什么我
的
代码不让
边框
变成蓝色,而是让它
的
宽度为3.0吗? 如下所示(L:我
的
应用程序,R:教程应用程序): ? CreateRoomButton extends StatelessWidget { Widget build(BuildContext context) { ], );} 此外,我还必须在某个地方添加以下内容(但由于textColor在flut
浏览 20
提问于2021-06-27
得票数 0
回答已采纳
3
回答
仅减小
OutlinedButton
的
一个
边框
的
宽度。颤动
、
如何
只缩小
OutlinedButton
的
一个
边框
的
宽度?我需要这个,以便2个按钮是彼此相邻
的
看起来像一个。现在,两个按钮之间有一个粗
边框
。我希望是这样
的
代码: buttonPadding: EdgeInsets.zero,
OutlinedButton
(style:
OutlinedButton
.styleFrom( s
浏览 1
提问于2021-07-14
得票数 2
5
回答
如何
设置颤振OutlineButton
的
背景色?
我怎样才能买到橙色
的
OutlineButton?
浏览 3
提问于2019-03-27
得票数 25
回答已采纳
1
回答
颤动:
更改
轮廓按钮
的
边框
颜色
、
style: BorderStyle.solid, ), label: Text("Import"), ),
浏览 11
提问于2021-04-09
得票数 0
回答已采纳
1
回答
使用ThemeData
更改
OutlinedButton
的
子级(文本小部件)
的
前景色
、
我正在使用
OutlinedButton
小部件,我想通过这些数据找到一个特定
的
样式。
OutlinedButton
结构如下所示: child: Text("Post"), context builder: (BuildContext context) => PostPage(), );) 数据是这样
浏览 4
提问于2021-05-17
得票数 0
1
回答
如何
更改
勾勒出
的
按钮
的
启动
颜色
?
、
、
最新
的
轮廓按钮没有任何启动
颜色
属性。
如何
改变闪亮
的
颜色
?任何人都知道
OutlinedButton
( style:
OutlinedButton
.styleFrom(
浏览 11
提问于2021-03-30
得票数 0
回答已采纳
2
回答
如何
在颤振中实现新
的
OutlinedButton
小部件
的
圆角?
、
、
使用Flick1.22,我们收到了一个新
的
小部件
OutlinedButton
,它是用来替换OutlineButton
的
,但是我们
如何
才能使它
的
边框
变得四舍五入呢?
浏览 5
提问于2020-10-12
得票数 31
回答已采纳
1
回答
如何
更改
ElevatedButton和
OutlinedButton
的
禁用
颜色
在ElevatedButton和
OutlinedButton
小部件中没有像常规RaisedButton那样
更改
禁用
颜色
的
属性。
浏览 89
提问于2021-02-03
得票数 4
回答已采纳
3
回答
如何
在颤振中切换多个按钮
的
颜色
?
、
、
假设我有3个按钮(在我
的
例子中是
OutlinedButton
)。例如,如果我按下按钮1,按钮1
的
轮廓
颜色
变黄,按钮2和3
的
轮廓
颜色
变成白色。return Row([ onPressed: (){Filter : Age
浏览 22
提问于2022-09-15
得票数 0
回答已采纳
10
回答
带
边框
的
材料设计按钮
、
、
、
、
我知道
如何
制作
颜色
填充
的
材料设计按钮:和无边透明按钮:然而,是否有办法使材料设计(透明
的
内部)按钮?
浏览 6
提问于2016-05-23
得票数 66
回答已采纳
1
回答
如果我
的
应用主题
的
主要
颜色
是白色,
如何
更改
材质按钮
的
文本
颜色
?
、
、
我已经使我
的
AppTheme
的
颜色
主要白色,但当使用材料按钮与轮廓风格
的
文本
颜色
显示为白色。 <color name="fooptextprimary_A400">#ec0000</color>Butto
浏览 0
提问于2019-09-11
得票数 0
1
回答
材料按钮未在android中显示
我正在使用android中
的
资料按钮。当我使用
OutlinedButton
样式时,按钮根本不显示。我甚至试图改变文字
的
颜色
和笔画
的
颜色
,但似乎没有任何效果。当我使用
OutlinedButton
以外
的
任何其他样式时(例如。( TextButton)起作用
的
。com.google.android.material.button.MaterialButton style="@style/W
浏览 2
提问于2020-01-07
得票数 0
回答已采纳
1
回答
如何
返回MaterialButton默认
边框
颜色
?
、
、
我有两个按钮,我想在按下一个按钮时实现蓝色
边框
。当按下按钮时,它
的
边框
不会变成蓝色,另一个按钮
的
边框
将恢复为默认值。 我无法返回正确
的
默认
边框
。我写了函数,但它
的
工作方式是错误
的
。: <style name="Buttons.Schemes" parent="Widget.MaterialComponents.Button.
OutlinedButton
">
浏览 27
提问于2019-05-16
得票数 0
回答已采纳
1
回答
如何
在
OutlinedButton
中删除
边框
、
当我想要删除OutlineButton上
的
边框
时遇到了问题
OutlinedButton
( child: const Text('Pext Page'),
浏览 85
提问于2021-11-12
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Win10系统如何更改任务栏颜色
标记颜色后如何恢复原来的颜色
让人脸红的“超污”色号,可以更改原有藏品的背景颜色?
如何更改自己的位置信息_位置信息如何更改
CAD中插入的光栅图片的边框如何去除
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券