【发布时间】:2018-07-27 01:32:45
【问题描述】:
我需要创建一个带有装饰的 TextFormField - counterText 和 labelText。我是这样做的:
new TextFormField(
decoration: new InputDecoration(
counterText: "some text",
labelText: header),
);
一切都很好,除了我需要将计数器文本移到左侧,但默认情况下,它在右侧。如何改变它?我知道有counterStyle参数,但我不知道如何使用它来实现向左移动文本。
【问题讨论】: