You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
469 B

import 'package:flutter/material.dart';
/// Primary AppBar widget with settings icon for all main screens.
class PrimaryAppBar extends StatelessWidget implements PreferredSizeWidget {
final String title;
const PrimaryAppBar({
super.key,
required this.title,
});
@override
Widget build(BuildContext context) {
return AppBar(
title: Text(title),
);
}
@override
Size get preferredSize => const Size.fromHeight(kToolbarHeight);
}

Powered by TurnKey Linux.