mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
[Bugfix] Made the status card 1:1 ratio (#25)
Slight regression I didn't notice. Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
29bc7f2fd8
commit
0495f9b800
2 changed files with 9 additions and 7 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
class StatusCard extends ConsumerWidget {
|
||||
|
|
@ -12,9 +13,8 @@ class StatusCard extends ConsumerWidget {
|
|||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(5),
|
||||
child: SizedBox(
|
||||
width: 40,
|
||||
height: 33,
|
||||
child: SizedBox.square(
|
||||
dimension: 33,
|
||||
child: Card(
|
||||
elevation: 10,
|
||||
surfaceTintColor: color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue