You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.5 KiB
62 lines
1.5 KiB
import 'package:flutter/material.dart';
|
|
import '../../data/nostr/nostr_service.dart';
|
|
import '../../data/sync/sync_engine.dart';
|
|
|
|
/// Screen for displaying Nostr events (placeholder).
|
|
class NostrEventsScreen extends StatelessWidget {
|
|
final NostrService? nostrService;
|
|
final SyncEngine? syncEngine;
|
|
|
|
const NostrEventsScreen({
|
|
super.key,
|
|
this.nostrService,
|
|
this.syncEngine,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: const Text('Nostr Events'),
|
|
),
|
|
body: const Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Icon(
|
|
Icons.cloud_outlined,
|
|
size: 64,
|
|
color: Colors.grey,
|
|
),
|
|
SizedBox(height: 16),
|
|
Text(
|
|
'Nostr Events',
|
|
style: TextStyle(
|
|
fontSize: 20,
|
|
fontWeight: FontWeight.bold,
|
|
),
|
|
),
|
|
SizedBox(height: 8),
|
|
Text(
|
|
'This screen will display Nostr events',
|
|
style: TextStyle(
|
|
fontSize: 14,
|
|
color: Colors.grey,
|
|
),
|
|
),
|
|
SizedBox(height: 24),
|
|
Text(
|
|
'Placeholder: Add your Nostr events UI here',
|
|
style: TextStyle(
|
|
fontSize: 12,
|
|
color: Colors.grey,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|
|
|