mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +00:00
Merge pull request 'feat(ui): Move provider card title to the top row' (#449) from move-title-in-cards into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/449 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
50ba929519
|
@ -148,9 +148,18 @@ class _Card extends StatelessWidget {
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
IconStatusMask(
|
Row(
|
||||||
status: state,
|
children: [
|
||||||
icon: Icon(icon, size: 30, color: Colors.white),
|
IconStatusMask(
|
||||||
|
status: state,
|
||||||
|
icon: Icon(icon, size: 30, color: Colors.white),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 8),
|
||||||
|
Text(
|
||||||
|
title,
|
||||||
|
style: Theme.of(context).textTheme.headlineMedium,
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
if (state != StateType.uninitialized)
|
if (state != StateType.uninitialized)
|
||||||
IconStatusMask(
|
IconStatusMask(
|
||||||
|
@ -167,10 +176,6 @@ class _Card extends StatelessWidget {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
Text(
|
|
||||||
title,
|
|
||||||
style: Theme.of(context).textTheme.titleLarge,
|
|
||||||
),
|
|
||||||
if (state != StateType.uninitialized)
|
if (state != StateType.uninitialized)
|
||||||
Text(
|
Text(
|
||||||
subtitle,
|
subtitle,
|
||||||
|
|
Loading…
Reference in a new issue