add carton from mix_box & from cargos
This commit is contained in:
@@ -7,9 +7,8 @@ import 'local_text.dart';
|
||||
class DialogInput extends StatefulWidget {
|
||||
final String value;
|
||||
final String label;
|
||||
final bool isQty;
|
||||
const DialogInput({Key key, this.label, this.value, this.isQty = false})
|
||||
: super(key: key);
|
||||
|
||||
const DialogInput({Key key, this.label, this.value}) : super(key: key);
|
||||
@override
|
||||
_DialogInputState createState() => _DialogInputState();
|
||||
}
|
||||
@@ -50,7 +49,7 @@ class _DialogInputState extends State<DialogInput> {
|
||||
key: _formKey,
|
||||
child: TextField(
|
||||
controller: _controller,
|
||||
focusNode: widget.isQty ? _focusNode : FocusNode(),
|
||||
focusNode: _focusNode,
|
||||
autofocus: true,
|
||||
keyboardType: TextInputType.number,
|
||||
decoration: new InputDecoration(
|
||||
|
||||
Reference in New Issue
Block a user