Solian/lib/widgets/app_bar_title.dart
2024-06-22 23:59:11 +08:00

18 lines
370 B
Dart

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 (SolianTheme.isSpecializedMacOS(context)) {
return Text(title);
} else {
return Text(title);
}
}
}