appBar method
Implementation
Widget appBar() {
return Container(
color: widget.theme!.palette.getAccent200(),
padding: const EdgeInsets.symmetric(vertical: 10, horizontal: 10),
child: Row(
children: [
InkWell(
onTap: () {
Navigator.of(context).pop();
},
child: Icon(Platform.isAndroid?Icons.arrow_back:Icons.arrow_back_ios,color: widget.theme!.palette.getAccent800(),)),
const SizedBox(width: 8),
Expanded(
child: Text(
widget.forAddMember
? AppStorages.languageKey!["add_member"]!
: widget.forMakeGroup
?AppStorages.languageKey!["create_group"]!
: AppStorages.languageKey!["contact_list"]!,
style: CustomTextStyles.medium(
fontSize: 16.0, fontColor: widget.theme!.palette.getAccent800()),
),
),
],
),
);
}