import 'package:design_system/design_system.dart';
import 'package:flutter/material.dart';

/// A placeholder page for features that are not yet implemented.
///
/// This page displays a simple message indicating that the feature
/// is coming soon. It follows the KROW Design System guidelines by:
/// - Using [UiAppBar] for the app bar
/// - Using [UiTypography] for text styling
/// - Using [UiColors] via typography extensions
class PlaceholderPage extends StatelessWidget {
  /// Creates a [PlaceholderPage].
  ///
  /// The [title] is displayed in the app bar and used in the
  /// "coming soon" message.
  const PlaceholderPage({required this.title, super.key});

  /// The title of the feature being displayed.
  final String title;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: UiAppBar(title: title),
      body: Center(
        child: Text(
          '$title Feature Coming Soon',
          style: UiTypography.body1r.textPrimary,
        ),
      ),
    );
  }
}
