2019-09-11 13:59:47 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class AppBarTitle extends StatelessWidget {
|
2021-05-16 09:16:35 +02:00
|
|
|
final String? text;
|
2019-09-11 13:59:47 +02:00
|
|
|
|
|
|
|
AppBarTitle(this.text);
|
|
|
|
|
|
|
|
@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
|
|
|
}
|
|
|
|
}
|