add fcs shipment apis

This commit is contained in:
Sai Naw Wun
2020-10-08 03:32:52 +06:30
parent ad1999f5c9
commit 6105b45cb8
23 changed files with 442 additions and 531 deletions

View File

@@ -7,7 +7,7 @@ import 'package:provider/provider.dart';
class DisplayText extends StatelessWidget {
final String text;
final String labelText;
final String labelTextKey;
final IconData iconData;
final int maxLines;
final bool withBorder;
@@ -17,7 +17,7 @@ class DisplayText extends StatelessWidget {
const DisplayText({
Key key,
this.text,
this.labelText,
this.labelTextKey,
this.iconData,
this.maxLines = 1,
this.withBorder = false,
@@ -57,10 +57,10 @@ class DisplayText extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
labelText == null
labelTextKey == null
? Container()
: Text(
AppTranslations.of(context).text(labelText),
AppTranslations.of(context).text(labelTextKey),
style: labelStyle,
),
Text(