appBar method

Widget appBar()

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(
            AppStorages.languageKey!["create_group"]!,
            style: CustomTextStyles.medium(
                fontSize: 16.0, fontColor:  widget.theme!.palette.getAccent800()),
          ),
        ),
      ],
    ),

  );
}