adguard-home-manager/lib/screens/connect/appbar.dart
2022-09-26 16:08:56 +02:00

17 lines
No EOL
475 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
class ConnectAppBar extends StatelessWidget with PreferredSizeWidget {
const ConnectAppBar({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return AppBar(
title: Text(AppLocalizations.of(context)!.connect),
centerTitle: true,
);
}
@override
Size get preferredSize => const Size.fromHeight(kToolbarHeight);
}