Added documentation

This commit is contained in:
2025-08-05 14:33:16 +02:00
parent 07906d61dd
commit 92d8a6f68f
4 changed files with 7 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:url_launcher/url_launcher.dart';
/// A view that displays information about the app, including its name, version,
/// privacy policy, imprint, and licenses.
class AboutView extends StatelessWidget {
const AboutView({super.key});

View File

@@ -3,6 +3,8 @@ import 'package:cabo_counter/l10n/generated/app_localizations.dart'
show AppLocalizations;
import 'package:flutter/cupertino.dart';
/// A view that displays the details of a specific open source software license.
/// It shows the title and the full license text in a scrollable view.
class LicenseDetailView extends StatelessWidget {
final String title, license;
const LicenseDetailView(

View File

@@ -6,6 +6,8 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
/// A view that displays a list of the open source software licenses used in the app.
/// It allows users to tap on a license to view its details in a separate screen.
class LicenseView extends StatelessWidget {
const LicenseView({super.key});

View File

@@ -4,6 +4,7 @@ import 'package:cabo_counter/presentation/views/about/about_view.dart';
import 'package:cabo_counter/presentation/views/home/main_menu_view.dart';
import 'package:flutter/cupertino.dart';
/// A view that provides a tabbed interface for navigating between the main menu and the about section.
class TabView extends StatefulWidget {
const TabView({super.key});