add rate service

This commit is contained in:
Sai Naw Wun
2020-10-15 03:06:13 +06:30
parent 7b88658893
commit 47c07a6c88
45 changed files with 870 additions and 496 deletions

View File

@@ -1,4 +1,4 @@
import 'package:fcs/domain/entities/custom.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/widgets/local_text.dart';
@@ -6,13 +6,12 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_icons/flutter_icons.dart';
typedef SelectionCallback(Custom custom);
typedef SelectionCallback(CustomDuty custom);
class CustomRow extends StatelessWidget {
final Custom custom;
final CustomDuty custom;
final SelectionCallback selectionCallback;
const CustomRow(
{Key key, this.custom, this.selectionCallback})
const CustomRow({Key key, this.custom, this.selectionCallback})
: super(key: key);
@override
@@ -33,7 +32,6 @@ class CustomRow extends StatelessWidget {
fontSize: 16),
line(context, custom.fee.toString(),
iconData: Icons.phone, color: primaryColor, fontSize: 16),
],
),
),