nc-photos/app/lib/widget/about_geocoding_dialog.dart
2024-05-28 23:56:07 +08:00

25 lines
740 B
Dart

import 'package:flutter/material.dart';
import 'package:nc_photos/app_localizations.dart';
class AboutGeocodingDialog extends StatelessWidget {
const AboutGeocodingDialog({super.key});
@override
build(BuildContext context) {
return AlertDialog(
title: Text(L10n.global().gpsPlaceAboutDialogTitle),
content: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(L10n.global().gpsPlaceAboutDialogContent),
const SizedBox(height: 16),
const Divider(height: 16),
const Text(
"Based on GeoNames Gazetteer data by GeoNames, licensed under CC BY 4.0",
),
],
),
);
}
}