import 'package:flutter/material.dart'; import 'package:shadcn_ui/shadcn_ui.dart'; import '../theme/spacing.dart'; import 'adaptive.dart'; class PlaceholderTabPage extends StatelessWidget { const PlaceholderTabPage({ super.key, required this.title, required this.description, }); final String title; final String description; @override Widget build(BuildContext context) { final cs = ShadTheme.of(context).colorScheme; return SafeArea( top: false, child: ListView( padding: const EdgeInsets.fromLTRB(18, 20, 18, 24), children: [ Center( child: ConstrainedBox( constraints: const BoxConstraints( maxWidth: Adaptive.contentMaxWidth, ), child: DecoratedBox( decoration: BoxDecoration( color: cs.card, border: Border.all(color: cs.border), borderRadius: BorderRadius.circular(Spacing.radiusCard), ), child: Padding( padding: const EdgeInsets.all(20), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( title, style: TextStyle( fontSize: 22, fontWeight: FontWeight.w700, color: cs.foreground, letterSpacing: 0, ), ), const SizedBox(height: 10), Text( description, style: TextStyle( fontSize: 14, height: 1.6, color: cs.mutedForeground, letterSpacing: 0, ), ), ], ), ), ), ), ), ], ), ); } }