flutter-layout 相关问题

制作扑动自定义过渡,例如页面视图

我想在导航到另一个页面时,像下面的图像一样进行自定义过渡,例如flutter中的pageview,但我不知道如何。我使用了slidetransitiondid,但没有给我带来所需的结果

回答 1 投票 0

自动完成小部件的VOICEOVER可访问性语义

在我的应用程序中,我使用自动完成来显示一些自动完成结果,当我的用户输入文本字段时,一切都按照我预期的方式工作。 我的问题来自ScreenReaders的支持(voi ...

回答 0 投票 0

如何在rxmap

通过使用GETX,我试图修改对RXMAP的更改。但是我无法找到为映射添加价值的方法。 add()根本没有为RxMAP定义。 putifabsent()并未将新的条目添加到rxmap。 Cl ...

回答 3 投票 0

如何仅在视频中拍摄选定区域

在拍摄视频的同时,我们如何覆盖过滤器屏幕,从而使用户只捕获其脸部。现在在许多银行应用程序中很普遍,其中显示了一个椭圆形圆圈(如Bel ...

回答 2 投票 0


如何增加此处资产图中图像的大小? 我正在创建一个导航栏,我在这里放置了不同的图像作为图标,我如何在此处增加图像大小。图像存在于Imageicon内部的资产图中。当我尝试增加图像时...

Container( width: size.width, height: 80, child: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ IconButton( icon: ImageIcon( AssetImage( 'assets/about.png', ), color: currentIndex == 0 ? Colors.blue : Colors.black, ), onPressed: () { setBottomBarIndex(0); }, splashColor: Colors.white, ), IconButton( icon: ImageIcon( AssetImage('assets/skills.png'), color: currentIndex == 1 ? Colors.blue : Colors.black, ), onPressed: () { setBottomBarIndex(1); }), Container( width: size.width * 0.20, ), IconButton( icon: ImageIcon( AssetImage('assets/projects.png'), color: currentIndex == 2 ? Colors.blue : Colors.black, ), onPressed: () { setBottomBarIndex(2); }), IconButton( icon: ImageIcon( AssetImage('assets/blog.png'), color: currentIndex == 3 ? Colors.blue : Colors.black, ), onPressed: () { setBottomBarIndex(3); }), ], ), )

回答 2 投票 0


Fllutter TextButton Splashcolor属性

I正在使用Flatbutton并通过了属性 FlatButton( plashcolor:colors.transparent, 亮光色:颜色。透明, 孩子: ..., ) 文档说Flatb ...

回答 10 投票 0





Flutter-包装的延伸小部件

我有一排,孩子们被扩展了小部件。我的目标是如果没有足够的空间适合所有孩子,则将这一行(如包装)包裹。 我已经尝试通过包装替换行: 返回SCAF ...

回答 2 投票 0





如何在Flutter中渲染特定行数的Wrap?

我正在尝试为 flutter 中的列表创建一个过滤器。我希望在列表上方显示一些过滤器。像这样的东西 - (来源:imge.to) 我不知道如何只渲染 2 行 t...

回答 3 投票 0

单击按钮时打开应用程序 我想在单击按钮时打开 Gmail 应用程序。我正在使用 url 启动器

我想在单击按钮时打开 Gmail 应用程序。我正在使用 url 启动器。 `墨水池( 子项:行(mainAxisSize:MainAxisSize.min,子项:const [ 大小框( ...

回答 5 投票 0

Flutter ThemeData:按钮文本颜色优先考虑 colorScheme,而不是 ElevatedButtonTheme textStyle

我目前正在尝试为我的材质应用程序定义 ThemeData,我需要 ElevatedButtonThemeData 中的 ButtonStyle 来控制我的应用程序中所有按钮的外观。到目前为止,一切都...

回答 2 投票 0

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.