add fcs shipment apis
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user