颤动的文字提示

问题描述

我正在使用行来显示此文本。但是,当我使用扩展小部件使多行显示第二行文本(例如AMD Ryzen…/ 30天...)时,第一行文本(例如Processor / OS)变为垂直居中时,我希望该垂直行居中。我尝试了一些小工具,例如align等,但是没有用。

代码:

Widget _specificationRow(String title,String description) {
  return new Row(children: [
    Padding(
      padding: const EdgeInsets.all(5.0),child: Align(
        alignment: Alignment.topRight,child: Text(
          '• $title :',style: TextStyle(
              color: Colors.deepOrange,fontSize: 15.0,fontFamily: "GoogleSans"),),Expanded(
      child: Padding(
        padding: const EdgeInsets.all(5.0),child: Text(
          '$description',maxLines: 3,overflow: TextOverflow.clip,style: TextStyle(
              fontSize: 15.0,]);
}

Screenshot

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)