mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
29 lines
920 B
Dart
29 lines
920 B
Dart
import 'package:flutter/material.dart' show ListTile;
|
|
import 'package:flutter_hooks/flutter_hooks.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
|
import 'package:spotube/collections/spotube_icons.dart';
|
|
import 'package:spotube/modules/settings/section_card_with_heading.dart';
|
|
import 'package:spotube/extensions/context.dart';
|
|
|
|
class SettingsDevelopersSection extends HookWidget {
|
|
const SettingsDevelopersSection({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SectionCardWithHeading(
|
|
heading: context.l10n.developers,
|
|
children: [
|
|
ListTile(
|
|
leading: const Icon(SpotubeIcons.logs),
|
|
title: Text(context.l10n.logs),
|
|
trailing: const Icon(SpotubeIcons.angleRight),
|
|
onTap: () {
|
|
GoRouter.of(context).push("/settings/logs");
|
|
},
|
|
)
|
|
],
|
|
);
|
|
}
|
|
}
|