Solian/lib/widgets/app_bar_title.dart

18 lines
367 B
Dart
Raw Permalink Normal View History

2024-06-22 15:59:11 +00:00
import 'package:flutter/material.dart';
import 'package:solian/theme.dart';
class AppBarTitle extends StatelessWidget {
final String title;
const AppBarTitle(this.title, {super.key});
@override
Widget build(BuildContext context) {
if (AppTheme.isSpecializedMacOS(context)) {
2024-06-22 15:59:11 +00:00
return Text(title);
} else {
return Text(title);
}
}
}