This is the end result:
This is my code:
SizedBox(width: 150, child: TextField(
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
textAlignVertical: TextAlignVertical.center,
decoration: InputDecoration(
border: new OutlineInputBorder(
borderRadius: const BorderRadius.all(
const Radius.circular(10.0),
),
),
prefixIcon: IconButton(icon: Icon(MdiIcons.minus), onPressed: () async {
}),
suffixIcon: IconButton(icon: Icon(MdiIcons.plus), onPressed: () async {
})
)
));
My problem is that, even when my width is set to 150, I can only enter 3 digits. Any number beyond the 123 shown on screen is not visible.
And it is not center.

