2022-09-17 14:35:45 +02:00
|
|
|
import 'package:flutter/widgets.dart';
|
2019-09-11 13:59:47 +02:00
|
|
|
|
|
|
|
class AppBarTitle extends StatelessWidget {
|
|
|
|
|
2022-09-06 18:28:12 +02:00
|
|
|
const AppBarTitle(this.text);
|
2022-09-21 18:28:21 +02:00
|
|
|
final String? text;
|
2019-09-11 13:59:47 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2021-05-16 09:16:35 +02:00
|
|
|
return Text(text!, overflow: TextOverflow.ellipsis);
|
2019-09-11 13:59:47 +02:00
|
|
|
}
|
|
|
|
}
|