mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-09-06 03:56:56 +00:00
31 lines
1.1 KiB
Dart
31 lines
1.1 KiB
Dart
import 'package:auto_route/auto_route.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:selfprivacy/ui/components/brand_cards/filled_card.dart';
|
|
import 'package:selfprivacy/ui/router/router.dart';
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
class NotReadyCard extends StatelessWidget {
|
|
const NotReadyCard({super.key});
|
|
|
|
@override
|
|
Widget build(final BuildContext context) => FilledCard(
|
|
tertiary: true,
|
|
child: ListTile(
|
|
contentPadding:
|
|
const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
|
onTap: () => context.pushRoute(const InitializingRoute()),
|
|
title: Text(
|
|
'not_ready_card.in_menu'.tr(),
|
|
style: Theme.of(context).textTheme.titleSmall?.copyWith(
|
|
color: Theme.of(context).colorScheme.onTertiaryContainer,
|
|
),
|
|
),
|
|
trailing: Icon(
|
|
Icons.arrow_forward_ios_outlined,
|
|
size: 16,
|
|
color: Theme.of(context).colorScheme.onTertiaryContainer,
|
|
),
|
|
),
|
|
);
|
|
}
|