import 'package:flutter/cupertino.dart';

class CollapsedTabText extends StatelessWidget {
  final String text;
  const CollapsedTabText(this.text, {super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: const EdgeInsets.symmetric(horizontal: 10),
      child: Center(child: Text(text)),
    );
  }
}