git-touch-android-ios-app/lib/widgets/app_bar_title.dart

13 lines
249 B
Dart
Raw Normal View History

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
}
}