Added comments
This commit is contained in:
@@ -3,8 +3,13 @@ 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.
|
||||
/// Displays the details of a specific open source software license in a Cupertino-style view.
|
||||
///
|
||||
/// This view presents the license title and its full text in a scrollable layout.
|
||||
///
|
||||
/// Required parameters:
|
||||
/// - [title]: The name of the license.
|
||||
/// - [license]: The full license text to display.
|
||||
class LicenseDetailView extends StatelessWidget {
|
||||
final String title, license;
|
||||
const LicenseDetailView(
|
||||
|
||||
@@ -6,8 +6,14 @@ 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.
|
||||
/// Displays a list of open source software licenses used in the app.
|
||||
///
|
||||
/// Users can tap on a license to view its details on a separate screen.
|
||||
/// This view uses a Cupertino design and supports localization.
|
||||
///
|
||||
/// See also:
|
||||
/// - [LicenseDetailView] for displaying license details.
|
||||
/// - [ossLicenses] for the list of licenses.
|
||||
class LicenseView extends StatelessWidget {
|
||||
const LicenseView({super.key});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user