CTK 1.2.1
This commit is contained in:
@@ -17,7 +17,10 @@ const Color _accentPink = AppColors.pink;
|
||||
/// Conteúdo da aba de Configurações, para ser embutido na bottom navigation
|
||||
/// do LoggedHomeScreen (sem Scaffold/AppBar próprios).
|
||||
class SettingsBody extends StatefulWidget {
|
||||
const SettingsBody({super.key});
|
||||
const SettingsBody({super.key, required this.onReplayTutorial});
|
||||
|
||||
/// Corre de novo o tutorial guiado da Home (ver [showCoachMarkTour]).
|
||||
final VoidCallback onReplayTutorial;
|
||||
|
||||
@override
|
||||
State<SettingsBody> createState() => _SettingsBodyState();
|
||||
@@ -131,6 +134,12 @@ class _SettingsBodyState extends State<SettingsBody> {
|
||||
_SectionLabel(SettingsStrings.about),
|
||||
_SettingsCard(
|
||||
children: [
|
||||
_ActionTile(
|
||||
icon: Icons.school_outlined,
|
||||
title: SettingsStrings.replayTutorial,
|
||||
onTap: widget.onReplayTutorial,
|
||||
),
|
||||
const Divider(height: 1),
|
||||
_ActionTile(
|
||||
icon: Icons.description_outlined,
|
||||
title: SettingsStrings.termsOfService,
|
||||
@@ -154,7 +163,7 @@ class _SettingsBodyState extends State<SettingsBody> {
|
||||
const _InfoTile(
|
||||
icon: Icons.info_outline_rounded,
|
||||
title: SettingsStrings.appVersion,
|
||||
subtitle: '1.1.0',
|
||||
subtitle: '1.2.1',
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user