|
|
|
@ -6,13 +6,17 @@ import 'package:mohem_flutter_app/extensions/int_extensions.dart';
|
|
|
|
import 'package:mohem_flutter_app/extensions/string_extensions.dart';
|
|
|
|
import 'package:mohem_flutter_app/extensions/string_extensions.dart';
|
|
|
|
import 'package:mohem_flutter_app/extensions/widget_extensions.dart';
|
|
|
|
import 'package:mohem_flutter_app/extensions/widget_extensions.dart';
|
|
|
|
|
|
|
|
|
|
|
|
AppBar AppBarWidget(BuildContext context,
|
|
|
|
PreferredSize AppBarWidget(BuildContext context,
|
|
|
|
{required String title,
|
|
|
|
{required String title,
|
|
|
|
bool showHomeButton = true,
|
|
|
|
bool showHomeButton = true,
|
|
|
|
bool showNotificationButton = false,
|
|
|
|
bool showNotificationButton = false,
|
|
|
|
bool showMemberButton = false,
|
|
|
|
bool showMemberButton = false,
|
|
|
|
String? image}) {
|
|
|
|
String? image}) {
|
|
|
|
return AppBar(
|
|
|
|
return PreferredSize(
|
|
|
|
|
|
|
|
preferredSize: const Size.fromHeight(57.0),
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
AppBar(
|
|
|
|
leadingWidth: 0,
|
|
|
|
leadingWidth: 0,
|
|
|
|
// leading: GestureDetector(
|
|
|
|
// leading: GestureDetector(
|
|
|
|
// behavior: HitTestBehavior.opaque,
|
|
|
|
// behavior: HitTestBehavior.opaque,
|
|
|
|
@ -66,5 +70,9 @@ AppBar AppBarWidget(BuildContext context,
|
|
|
|
icon: const Icon(Icons.people, color: MyColors.textMixColor),
|
|
|
|
icon: const Icon(Icons.people, color: MyColors.textMixColor),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Container(width: double.infinity, height: 1, color: MyColors.lightGreyEFColor),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|