Files
pipelines/app/lib/features/settings/settings_skeleton.dart
T
alan 3136e5bb7e Redesign Settings as grouped searchable page
Replace the tabbed Settings flow with a single grouped page that searches and lazily loads server-backed sections. Preserve existing settings behavior while adding inline loading and retry states and updating coverage for the new navigation model.
2026-11-12 02:54:07 +00:00

20 lines
596 B
Dart

import 'package:flutter/material.dart';
import 'settings_group.dart';
import 'settings_server_view.dart';
/// A group-shaped placeholder for a lazy section that has not been reached yet.
/// It keeps the section's heading, so the page reads the same before and after
/// the section loads.
class SettingsSkeleton extends StatelessWidget {
const SettingsSkeleton({super.key, required this.title});
final String title;
@override
Widget build(BuildContext context) => SettingsGroup(
title: title,
children: const <Widget>[SettingsGroupItem(child: SettingsPlaceholder())],
);
}