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) {
|
2024-09-13 12:22:10 +00:00
|
|
|
if (AppTheme.isSpecializedMacOS(context)) {
|
2024-06-22 15:59:11 +00:00
|
|
|
return Text(title);
|
|
|
|
} else {
|
|
|
|
return Text(title);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|