首页 > 解决方案 > 如何增加芯片尺寸?

问题描述

我尝试了一些方法来使芯片更大,但到目前为止我没有尝试过(如 SizedBox 等)。

在芯片的文档中也找不到任何东西:

https://api.flutter.dev/flutter/material/Chip-class.html

将不胜感激一些帮助

_buildChip() {
return Expanded(
    child: Chip(
  materialTapTargetSize: MaterialTapTargetSize.padded,
  avatar: SizedBox(
      height: 60,
      width: 60,
      child: CircleAvatar(
        child: Icon(Icons.save),
      )),
  label: Text("awd"),
));

}

标签: flutterflutter-layout

解决方案


推荐阅读