腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(5349)
视频
沙龙
3
回答
有没有
办法
替代
leading
,
CircleAvatar
的
backgroundColor
flutter
、
android-listview
、
background-color
我正在将api响应
的
数据显示到ListView.builder,ListTile中,我想改变
CircleAvatar
的
背景颜色,假设api响应数据长度为5,那么在第一和第二圈中,头像
的
背景颜色将与第四和第五相同(如果有3种可选颜色) ListTile( radius: 25,
backgroundColor
:Colors.red 请帮帮忙,有什么建议吗
浏览 82
提问于2021-08-16
得票数 0
回答已采纳
1
回答
ExpansionTile颤振中高于职称
的
儿童
flutter
、
dart
、
expansion-tile
:
CircleAvatar
( ), ListTile(
backgroundColor
::
CircleAvatar
(
浏览 6
提问于2022-04-25
得票数 1
1
回答
CircleAvatar
()大小在appBar中没有变化
flutter
、
dart
、
flutter-layout
、
flutter-appbar
因此,我试图在应用程序
的
主页中显示循环用户图像--图像位置位于屏幕
的
左上角,搜索并尝试使用以下方法: appBar: PreferredSize( child: AppBar( elevation: 0, radiu
浏览 6
提问于2022-07-31
得票数 2
回答已采纳
2
回答
CircleAvatar
在ListTile中
的
领先地位
flutter
在我
的
ListTile中,我想要一个边框
的
CircleAvatar
,这就是为什么在另一个
CircleAvatar
中有一个
CircleAvatar
的
原因。问题是边界没有出现。width: 200, child: ListTile( radius: 32,
浏览 6
提问于2022-11-24
得票数 2
回答已采纳
1
回答
如何在颤动中绘制带有图像和文本的卡片列表
android
、
flutter
、
listview
、
android-image
、
card
这意味着假设我有一个Notification页面,并且我必须以卡片列表
的
格式显示即将到来
的
通知。如果我有生日通知,那么我必须为用户显示生日照片和生日文本。如果我有提醒,那么我必须在卡片中显示带有日历照片
的
提醒文本,就像这样
浏览 19
提问于2021-01-13
得票数 0
2
回答
带有ListTiles和一行按钮
的
颤动下拉菜单
android
、
user-interface
、
flutter
、
dart
、
flutter-layout
我正在尝试构建一个自定义
的
下拉菜单,如下所示:我已经设法在没有下拉菜单
的
情况下实现了Buttons
的
ListTiles和Row,但我不确定如何在一个dropdown menu类中嵌套所有这些:
CircleAvatar
(
backgroundColor
: Colors.primaries[0]), title: Text('All Circles'),:
CircleAvatar
(
backgroundColor</em
浏览 20
提问于2020-02-23
得票数 1
2
回答
抽屉中导航栏下
的
空白
dart
、
flutter
我遇到了一个令人讨厌
的
造型问题,如果我打开抽屉,我就会在Android导航栏下得到空白。不过,如果我不在抽屉里,它就会显示出正确
的
颜色。 accountName: new Text("Linus Juhlin"),
backgroundColor
: Colors.pinkAccent,
浏览 1
提问于2018-03-22
得票数 1
回答已采纳
2
回答
如何防止颤振
CircleAvatar
改变背景色
flutter
、
dart
、
flutter-layout
我正在构建一个带有
CircleAvatar
的
列表视图。我注意到,当我向列表中添加一个新元素时,第一个化身背景色将在非常短
的
时间内(不到半秒)保持与前一个列表块相同
的
颜色,然后逐渐更改为设置为新列表块
的
颜色。 if (index == 0) {
leading
:
CircleAvatar
(
浏览 6
提问于2022-08-29
得票数 1
1
回答
Flutter:更改背景颜色抽屉菜单而不更改颜色appbar
android
、
flutter
、
dart
我希望创建一个自定义
的
酒吧应用程序,如下图所示 Image - custom bar app I want 但是,我无法将菜单抽屉
的
底部保留为白色,也无法将文本向左对齐,结果如下所示 Image -my custom app bar 我
的
代码 return Scaffold( actions: <Widget>[
backgroundColor
: Colors.wh
浏览 21
提问于2020-04-17
得票数 0
1
回答
我想把我
的
滑动面板称为按钮
flutter
我想当点击我
的
编辑按钮,我
的
滑动面板触发器和打开!: Color.fromARGB(255, 252, 249, 249), onPressed: () {},child:
CircleAvatar
( foregroundImage( ra
浏览 4
提问于2022-09-13
得票数 0
1
回答
如何从数据库中通过
CircleAvatar
显示图像
flutter
、
dart
我试图通过
CircleAvatar
显示来自数据库
的
图像数据,但是在处理过程中出现了一些错误,任何建议都会得到赏识,在这里,错误也是‘参数类型'Iterable’Iterable‘不能分配给参数类型’ImageProvider
leading
:
CircleAvatar
( backgroundImage: images.map((photo){
浏览 2
提问于2020-08-07
得票数 0
2
回答
颤振中
的
丰塔西图标
flutter
、
dart
为什么我在
CircleAvatar
中
的
图标不在中间? IconButton( radius: 60.0,
backgroundColo
浏览 2
提问于2020-04-05
得票数 0
回答已采纳
1
回答
如何实现以下布局
flutter
、
flutter-layout
、
flutter-futurebuilder
我想要构建在图像中提供
的
布局,我已经这样做了,但我希望播放所有的按钮,也能够滚动作为未来列表视图生成器。但我无法做到这一点。; return
CircleAvatar
backgroundImage: AssetImage('images/happy_music.png'),
backgroundColor
浏览 1
提问于2021-01-11
得票数 0
回答已采纳
2
回答
颤动中
的
下拉按钮异常
android
、
ios
、
flutter
、
drop-down-menu
( radius: 10, SizedBox(( radius: 10, SizedBox(( radius: 10,
浏览 17
提问于2021-06-14
得票数 0
1
回答
如何在Flutter中重叠两个小部件?
image
、
flutter
、
overlap
这是一个圆形头像与其上面的颜色和图像
的
组合。 当前输出: ? 代码:
leading
:
CircleAvatar
(
backgroundColor
: contentWithIcon[value]['color']), 如何将这两个部分重叠在一起?
浏览 31
提问于2019-05-21
得票数 1
回答已采纳
1
回答
如何将Widget正确存储在列表中以在Widget类中返回
flutter
、
dart
我
的
代码:Map<String, dynamic> mapScan = jsonDecode(scanRaw); print('a'); Card(
leading
:
CircleAvatar
(
backgroundColor</e
浏览 0
提问于2021-05-24
得票数 0
2
回答
Flutter:左对齐扩展
的
小部件
flutter
、
flutter-layout
Output (all left aligned)// Actual Output
有没有
办法
做到这一点下面的代码正确地缩短了左边
的
组件,但对齐不正确。crossAxisAlignment: CrossAxisAlignment.stretch, ListTile(
leading
浏览 2
提问于2020-09-06
得票数 0
1
回答
有没有
办法
改变ListTile on Flutter
的
前导背景?
listview
、
flutter
、
background
我正在做一个列表,使用
CircleAvatar
作为前导。我想让背景
的
颜色和头像
的
圆圈是一样
的
。The item 2 of the list shows what I mean 有什么简单
的
方法可以做到这一点吗?顺便说一下,这是我
的
代码: child: new ListTile(
backgroundColor
浏览 4
提问于2020-01-02
得票数 1
回答已采纳
4
回答
如何在flutter中显示圆形头像?
flutter
当使用下面的代码时,我希望得到一个圆形
的
头像图像,但得到
的
是一个椭圆形。我在Container上尝试了不同
的
参数,比如宽度和高度,但都没有帮助。appBar: AppBar(
leading
: IconButton( Container(
浏览 82
提问于2020-02-17
得票数 1
回答已采纳
2
回答
这张照片不显示图像选择器-颤振
flutter
、
dart
、
flutter-layout
、
flutter-dependencies
当我选择一张照片,我应该看到
的
照片,而不是化身图标,但我不知道为什么它不工作
的
方式。我是个新手,也许应该用不同
的
方式来解决这个问题。 return const
CircleAvatar
(
backgroundColor
: Colors.orange,child:
CircleAvatar
(
backgroundCo
浏览 2
提问于2021-07-12
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
手机功能媲美电脑,你的电脑还能存活多长时间?
先入为主的想法
再从 B 站下载视频,别用这款软件了
收入模式升级,更多选择权
HMS和GMS相比怎么样?任正非:跟苹果、谷歌比差距不小!
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券