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( Config(
flavor: Flavor.PRODUCTION, flavor: Flavor.PRODUCTION,
color: Colors.blue, 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", reportURL: "http://petrok.mokkon.com:8092",
reportProjectID: "fcs-prod", reportProjectID: "fcs-prod",
bucketName: "gs://fcs-prod1", bucketName: "gs://fcs-prod1",

View File

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

View File

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

View File

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