You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
347 B
Dart
14 lines
347 B
Dart
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)),
|
|
);
|
|
}
|
|
} |