fix: more information dialog divider has fixed width (#397)

pull/358/head
Jorge Coca 2 years ago committed by alestiago
parent 3ee4b0b228
commit bff2c6e2af

@ -55,8 +55,6 @@ class _LinkBoxHeader extends StatelessWidget {
@override
Widget build(BuildContext context) {
final l10n = context.l10n;
final indent = MediaQuery.of(context).size.width / 5;
return Column(
children: [
Text(
@ -68,11 +66,9 @@ class _LinkBoxHeader extends StatelessWidget {
overflow: TextOverflow.ellipsis,
),
const SizedBox(height: 12),
Divider(
color: PinballColors.white,
endIndent: indent,
indent: indent,
thickness: 2,
const SizedBox(
width: 200,
child: Divider(color: PinballColors.white, thickness: 2),
),
],
);

Loading…
Cancel
Save