小编Sun*_*nil的帖子

如何在Flutter中隐藏文本字段底部的字母计数器

在此输入图像描述

我面临一个小问题.正如你所看到的,我在Flutter中设置了TextField的maxLength 1,但是我无法隐藏文本计数器的底部标签.

dart flutter

27
推荐指数
13
解决办法
8532
查看次数

从外部存储器显示圆形的图像

我试过以下代码片段:

new Container(
    height: 80.0,
    width: 80.0,
    decoration: new BoxDecoration
    shape: BoxShape.circle,
    border: Border.all(color: const Color(0x33A6A6A6)),
    // image: new Image.asset(_image.)
    ),
    child: new Image.file(_image),
));
Run Code Online (Sandbox Code Playgroud)

但它不起作用.

flutter

1
推荐指数
2
解决办法
3392
查看次数

标签 统计

flutter ×2

dart ×1