This commit is contained in:
Phaung Phaung
2021-09-10 12:02:08 +06:30
parent a144c945b6
commit c06ae00b68
35 changed files with 190 additions and 223 deletions

View File

@@ -1,11 +1,6 @@
import 'package:fcs/domain/entities/cargo_type.dart';
import 'package:fcs/domain/entities/custom_duty.dart';
import 'package:fcs/domain/vo/delivery_address.dart';
import 'package:fcs/helpers/theme.dart';
import 'package:fcs/pages/delivery_address/delivery_address_editor.dart';
import 'package:fcs/pages/main/util.dart';
import 'package:fcs/pages/rates/custom_editor.dart';
import 'package:fcs/pages/widgets/bottom_up_page_route.dart';
import 'package:fcs/pages/widgets/local_text.dart';
import 'package:fcs/pages/widgets/progress.dart';
import 'package:flutter/cupertino.dart';
@@ -14,8 +9,8 @@ import 'package:provider/provider.dart';
import 'model/shipment_rate_model.dart';
class CustomList extends StatefulWidget {
final bool selected;
const CustomList({Key key, this.selected}) : super(key: key);
final bool? selected;
const CustomList({Key? key, this.selected}) : super(key: key);
@override
_CustomListState createState() => _CustomListState();
}
@@ -28,7 +23,7 @@ class _CustomListState extends State<CustomList> {
void initState() {
super.initState();
if (widget.selected != null) {
_selected = widget.selected;
_selected = widget.selected!;
}
}