|
|
|
@ -5,10 +5,10 @@ class PageAppbar extends StatelessWidget implements PreferredSizeWidget { |
|
|
|
|
|
|
|
final Color? backgroundColor; |
|
|
|
final Color? color; |
|
|
|
|
|
|
|
final bool? bottom; |
|
|
|
final String title; |
|
|
|
final Widget? right; |
|
|
|
const PageAppbar({super.key, required this.title, this.backgroundColor, this.color, this.right}); |
|
|
|
const PageAppbar({super.key, required this.title, this.backgroundColor, this.color, this.right, this.bottom}); |
|
|
|
|
|
|
|
@override |
|
|
|
Widget build(BuildContext context) { |
|
|
|
@ -26,6 +26,13 @@ class PageAppbar extends StatelessWidget implements PreferredSizeWidget { |
|
|
|
color: const Color.fromRGBO(51, 51, 51, 1) |
|
|
|
), |
|
|
|
), |
|
|
|
bottom: (bottom != null && bottom!) ? PreferredSize( |
|
|
|
preferredSize: Size.fromHeight(0.5), |
|
|
|
child: Container( |
|
|
|
color: Colors.grey[300], |
|
|
|
height: 0.5, |
|
|
|
), |
|
|
|
) : null, |
|
|
|
); |
|
|
|
} |
|
|
|
@override |
|
|
|
|