Correct email field
This commit is contained in:
parent
a42b20828c
commit
e716cad179
|
|
@ -18,7 +18,7 @@ class CopyToClipboard extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
if ((value ?? '').isEmpty) {
|
if ((value ?? '').isEmpty) {
|
||||||
return child;
|
return SizedBox();
|
||||||
}
|
}
|
||||||
|
|
||||||
final widget = child == null ? Text(value) : child;
|
final widget = child == null ? Text(value) : child;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue