nc-photos/app/lib/widget/about_geocoding_dialog.dart

28 lines
766 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
import 'package:nc_photos/app_localizations.dart';
class AboutGeocodingDialog extends StatelessWidget {
const AboutGeocodingDialog({
Key? key,
}) : super(key: key);
@override
build(BuildContext context) {
2022-11-12 10:55:33 +01:00
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",
),
],
),
);
}
}