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

pull/401/head
Jorge Coca 3 years ago committed by GitHub
parent 8920689de4
commit f517f7e4a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save