fix keyboard

This commit is contained in:
2021-01-25 23:45:09 +06:30
parent f99d6c29a8
commit 1b331e1f8e
4 changed files with 9 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ void main() {
Config(
flavor: Flavor.PRODUCTION,
color: Colors.blue,
apiURL: "https://asia-northeast1-fcs-prod1.cloudfunctions.net/API",
apiURL: "https://asia-northeast1-fcs-prod1.cloudfunctions.net/API106",
reportURL: "http://petrok.mokkon.com:8092",
reportProjectID: "fcs-prod",
bucketName: "gs://fcs-prod1",

View File

@@ -574,12 +574,12 @@ class _CartonEditorState extends State<CartonEditor> {
? CartonPackageTable(
packages: _carton.packages,
onSelect: (p, checked) {
if (checked &&
_deliveryAddress != null &&
p.deliveryAddress?.id !=
_deliveryAddress.id) {
return;
}
// if (checked &&
// _deliveryAddress != null &&
// p.deliveryAddress?.id !=
// _deliveryAddress.id) {
// return;
// }
setState(() {
p.isChecked = checked;
});

View File

@@ -119,7 +119,7 @@ class _ShipmentRatesCalState extends State<ShipmentRatesCal> {
controller: _actualWeightCtl,
labelTextKey: "box.actual_weight",
iconData: MaterialCommunityIcons.weight,
textInputType: TextInputType.number,
textInputType: TextInputType.numberWithOptions(decimal: true),
);
var cargoTypeBox = LocalDropdown<CargoType>(

View File

@@ -2,7 +2,7 @@ name: fcs
description: FCS Logistics
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.6+8
version: 1.0.6+9
environment:
sdk: ">=2.7.0 <3.0.0"