2023-02-23 14:49:14 +00:00
|
|
|
import 'package:auto_route/auto_route.dart';
|
2024-01-31 05:14:23 +00:00
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
2021-01-06 17:35:57 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2024-11-06 00:22:30 +00:00
|
|
|
import 'package:selfprivacy/ui/atoms/cards/filled_card.dart';
|
2023-02-23 14:49:14 +00:00
|
|
|
import 'package:selfprivacy/ui/router/router.dart';
|
2021-01-06 17:35:57 +00:00
|
|
|
|
|
|
|
class NotReadyCard extends StatelessWidget {
|
2022-10-26 16:26:09 +00:00
|
|
|
const NotReadyCard({super.key});
|
2021-01-06 17:35:57 +00:00
|
|
|
|
|
|
|
@override
|
2023-01-31 22:29:17 +00:00
|
|
|
Widget build(final BuildContext context) => FilledCard(
|
|
|
|
tertiary: true,
|
|
|
|
child: ListTile(
|
|
|
|
contentPadding:
|
|
|
|
const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
2023-02-23 14:49:14 +00:00
|
|
|
onTap: () => context.pushRoute(const InitializingRoute()),
|
2023-01-31 22:29:17 +00:00
|
|
|
title: Text(
|
|
|
|
'not_ready_card.in_menu'.tr(),
|
|
|
|
style: Theme.of(context).textTheme.titleSmall?.copyWith(
|
|
|
|
color: Theme.of(context).colorScheme.onTertiaryContainer,
|
2021-01-27 19:54:37 +00:00
|
|
|
),
|
2023-01-31 22:29:17 +00:00
|
|
|
),
|
|
|
|
trailing: Icon(
|
|
|
|
Icons.arrow_forward_ios_outlined,
|
2024-11-06 00:22:30 +00:00
|
|
|
size: 24,
|
2023-01-31 22:29:17 +00:00
|
|
|
color: Theme.of(context).colorScheme.onTertiaryContainer,
|
2022-06-05 22:40:34 +00:00
|
|
|
),
|
2021-01-27 19:54:37 +00:00
|
|
|
),
|
2022-06-05 22:40:34 +00:00
|
|
|
);
|
2021-01-06 17:35:57 +00:00
|
|
|
}
|