Updated and added comments
This commit is contained in:
@@ -5,10 +5,13 @@ import 'package:game_tracker/presentation/views/main_menu/settings_view/licenses
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
class LicenseDetailView extends StatelessWidget {
|
||||
final Package package;
|
||||
|
||||
/// A detailed view displaying information about a software package license.
|
||||
/// - [package]: The package data to be displayed.
|
||||
const LicenseDetailView({super.key, required this.package});
|
||||
|
||||
/// The package data to be displayed.
|
||||
final Package package;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final loc = AppLocalizations.of(context);
|
||||
|
||||
@@ -5,6 +5,7 @@ import 'package:game_tracker/presentation/views/main_menu/settings_view/licenses
|
||||
import 'package:game_tracker/presentation/widgets/tiles/license_tile.dart';
|
||||
|
||||
class LicensesView extends StatelessWidget {
|
||||
/// A view that displays a list of open source licenses used in the app
|
||||
const LicensesView({super.key});
|
||||
|
||||
@override
|
||||
|
||||
@@ -14,6 +14,8 @@ import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
class SettingsView extends StatefulWidget {
|
||||
/// The settings view of the application, allowing users to manage data
|
||||
/// and view legal information.
|
||||
const SettingsView({super.key});
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user