mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-05-03 09:37:58 -05:00
It is now possible import and export decks. Decks can be imported from OPML files. For each import a new deck is created. If the OPML file contains nested `outline` tags, we will create one column for each parent `outline` tag. Otherwise we will create a column named `Unknown` and all sources to this column. When a deck is exported we will create one `outline` tag for each column with it's sources as siblings.
30 lines
1004 B
Dart
30 lines
1004 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'package:feeddeck/utils/constants.dart';
|
|
import 'package:feeddeck/widgets/settings/app_settings/app_settings_export.dart';
|
|
import 'package:feeddeck/widgets/settings/app_settings/app_settings_import.dart';
|
|
|
|
/// The [SettSettingsAppSettings] widget is used to display a list of all
|
|
/// available app settings, which can be used to customize the app by the user
|
|
/// and to import and export data.
|
|
class SettingsAppSettings extends StatelessWidget {
|
|
const SettingsAppSettings({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Text(
|
|
'App Settings',
|
|
style: TextStyle(fontSize: 20.0, fontWeight: FontWeight.bold),
|
|
),
|
|
SizedBox(height: Constants.spacingSmall),
|
|
SettingsAppSettingsExport(),
|
|
SettingsAppSettingsImport(),
|
|
SizedBox(height: Constants.spacingMiddle),
|
|
],
|
|
);
|
|
}
|
|
}
|