update carton
This commit is contained in:
@@ -8,7 +8,11 @@ import 'carton_search.dart';
|
||||
class CartonListRow extends StatefulWidget {
|
||||
final CallbackCartonSelect callbackCartonSelect;
|
||||
final Carton carton;
|
||||
const CartonListRow({this.carton, this.callbackCartonSelect});
|
||||
|
||||
// const CartonListRow({this.carton, this.callbackCartonSelect});
|
||||
CartonListRow(
|
||||
{Key key, this.carton, this.callbackCartonSelect})
|
||||
: super(key: key);
|
||||
|
||||
@override
|
||||
_CartonListRowState createState() => _CartonListRowState();
|
||||
@@ -82,7 +86,7 @@ class _CartonListRowState extends State<CartonListRow> {
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
new Text(
|
||||
"${_carton.actualWeight?.toStringAsFixed(2) ?? ''} lb",
|
||||
"${_carton.cartonWeight?.toStringAsFixed(2) ?? ''} lb",
|
||||
style: new TextStyle(
|
||||
fontSize: 15.0, color: Colors.grey),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user