|
...
|
...
|
@@ -2,6 +2,7 @@ import 'dart:convert'; |
|
|
|
|
|
|
|
import 'package:common_utils/common_utils.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:one_key/pages/my/store_wine_manage/create_wine_item_page.dart';
|
|
|
|
import 'package:one_key/widgets/MyDivider.dart';
|
|
...
|
...
|
@@ -175,7 +176,11 @@ class _CreateStoreWinePageState extends State<CreateStoreWinePage> { |
|
|
|
// focusNode: _phoneNode,
|
|
|
|
textAlign: TextAlign.right,
|
|
|
|
textAlignVertical: TextAlignVertical.center,
|
|
|
|
|
|
|
|
inputFormatters: <TextInputFormatter>[
|
|
|
|
FilteringTextInputFormatter.allow(
|
|
|
|
RegExp(r'[0-9]')), //设置只允许输入数字
|
|
|
|
LengthLimitingTextInputFormatter(11) //限制长度
|
|
|
|
],
|
|
|
|
// textAlignVertical:
|
|
|
|
// TextAlignVertical.center,
|
|
|
|
decoration: InputDecoration(
|
...
|
...
|
|