docs(flutter): add dart doc comments to core services and widgets (TODO-085)
Add dart doc comments to poke_notification_service, poke_preferences_service, link_trust_service, voice_settings, snapshot_view covering public API.
This commit is contained in:
@@ -11,7 +11,14 @@ import '../src/rust/api.dart' as rust;
|
||||
import 'bbcode_text.dart';
|
||||
import 'talk_power_warning.dart';
|
||||
|
||||
/// Connected-server snapshot with welcome text, channels, and clients.
|
||||
/// Connected-server snapshot displaying welcome text, channel tree, and clients.
|
||||
///
|
||||
/// Renders the full channel hierarchy from a [BridgeSnapshot] with expandable
|
||||
/// channel nodes, client voice-status indicators, unread-message badges, and
|
||||
/// context menus for client actions (info, chat, poke, volume).
|
||||
///
|
||||
/// Channel join is triggered by tapping an unlocked channel row; password-
|
||||
/// protected channels invoke [onJoinChannelWithPassword] instead.
|
||||
class SnapshotView extends StatefulWidget {
|
||||
/// Construct a snapshot view.
|
||||
const SnapshotView({
|
||||
@@ -1149,7 +1156,7 @@ class _ClientVolumeSheetState extends State<_ClientVolumeSheet> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Context menu for channel tiles. Shows a "Chat" option on right-click or
|
||||
/// Context menu for channel tiles offering "Chat" on right-click or
|
||||
/// long-press. Primary tap passes through to the child for voice join.
|
||||
class _ChannelContextMenu extends StatelessWidget {
|
||||
const _ChannelContextMenu({
|
||||
|
||||
Reference in New Issue
Block a user