Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions example/lib/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ library;

import 'package:flutter/material.dart';

import 'package:intl/intl.dart';
import 'package:markdown_tooltip/markdown_tooltip.dart';
import 'package:solidpod/solidpod.dart';
import 'package:solidui/solidui.dart'
show
InitialSetupScreenBody,
loginIfRequired,
logoutPopup,
getKeyFromUserIfRequired,
changeKeyPopup,
smallGapV,
largeGapV;

import 'package:demopod/constants/app.dart';
import 'package:demopod/dialogs/about.dart';
import 'package:demopod/dialogs/alert.dart';
Expand All @@ -43,16 +56,6 @@ import 'package:demopod/features/read_acl_inherited_file.dart';
import 'package:demopod/features/view_keys.dart';
import 'package:demopod/main.dart';
import 'package:demopod/utils/rdf.dart';
import 'package:intl/intl.dart';
import 'package:markdown_tooltip/markdown_tooltip.dart';
import 'package:solidui/solidui.dart'
show
InitialSetupScreenBody,
loginIfRequired,
logoutPopup,
getKeyFromUserIfRequired;

import 'package:solidpod/solidpod.dart';

/// A widget for the demonstration screen of the application.

Expand Down Expand Up @@ -284,11 +287,6 @@ class HomeState extends State<Home> with SingleTickerProviderStateMixin {

final dateStr = DateFormat('HH:mm:ss dd MMMM yyyy').format(DateTime.now());

// Some vertical spacing for the widget.

const smallGapV = SizedBox(height: 10.0);
const largeGapV = SizedBox(height: 40.0);

// A small horizontal spacing for the widget.

const smallGapH = SizedBox(width: 10.0);
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependency_overrides:
solidui:
git:
url: https://github.com/anusii/solidui
ref: dev
ref: tony/186_migration

dev_dependencies:
flutter_lints: ^6.0.0
Expand Down
23 changes: 10 additions & 13 deletions lib/solidpod.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,20 @@ library;

/// Organized constants structure to avoid name conflicts.
/// Use `SolidConstants.namespaces.foaf`, `SolidConstants.directories.data`, etc.

export 'src/solid/constants/solid_constants.dart';

// Legacy exports for backward compatibility (deprecated, use SolidConstants instead)

export 'src/solid/constants/common.dart' show foaf, terms, ResourceStatus;
export 'src/solid/constants/schema.dart' show appsTerms;
export 'src/solid/constants/path_type.dart' show PathType;

/// Common RDF predicates for Linked Data operations.
/// Includes predicates for RDF, FOAF, ACL, VCard, Dublin Core Terms, and XSD.

export 'src/solid/constants/predicates.dart';

/// Solid authentication function

export 'src/solid/authenticate.dart' show solidAuthenticate;
Expand All @@ -62,11 +69,6 @@ export 'src/solid/solid_func_call_status.dart' show SolidFunctionCallStatus;
export 'src/solid/common_func.dart'
show checkPodInitialization, deleteDataFileDialog;

/// Security UI constants including SecurityStrings, SecurityColors, etc.

export 'src/solid/constants/ui.dart'
show SecurityStrings, SecurityColors, SecurityTextStyles, SecurityLayout;

/// Includes the AppInfo class which stores app specific information
/// such as name, version, canonical name, package name, build number.

Expand Down Expand Up @@ -135,14 +137,6 @@ export 'src/solid/utils/get_url_helper.dart'
export 'src/solid/utils/init_helper.dart'
show generateDefaultFolders, generateCustomFolders, generateDefaultFiles;

/// Change security key popup widget

export 'src/widgets/change_key_dialog.dart';

/// Security key UI widget for prompting and displaying security key dialogs

export 'src/widgets/security_key_ui.dart';

/// Read encrypted/non-encrypted files stored in a POD

export 'src/solid/read_pod.dart';
Expand Down Expand Up @@ -231,3 +225,6 @@ export 'src/solid/get_resources.dart';

/// 20250917 gjw Extras that were required for the example app! Not yet
/// documented.

export 'package:solidui/solidui.dart'
show SecurityKeyUI, SecurityStrings, changeKeyPopup;
Loading