cleanup code
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
import 'img_url.dart';
|
||||
@@ -28,7 +27,7 @@ Widget labeledText(BuildContext context, String text, String label,
|
||||
padding: EdgeInsets.only(top: 10),
|
||||
// alignment: number ? Alignment.topRight : null,
|
||||
child: Text(
|
||||
text == null ? "" : text,
|
||||
text,
|
||||
style: textStyle,
|
||||
maxLines: 3,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user