adguard-home-manager/lib/screens/logs/appbar.dart

17 lines
466 B
Dart
Raw Normal View History

2022-09-30 23:33:57 +02:00
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
class LogsAppBar extends StatelessWidget with PreferredSizeWidget {
const LogsAppBar({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return AppBar(
title: Text(AppLocalizations.of(context)!.logs),
centerTitle: true,
);
}
@override
Size get preferredSize => const Size.fromHeight(kToolbarHeight);
}