Solian/lib/widgets/app_bar_title.dart
LittleSheep b449735bf5 Better side navigation
🐛 Bug fixes and optimizations
2024-09-13 20:22:10 +08:00

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