MapViewAppBar constructor

MapViewAppBar(
  1. BuildContext context, {
  2. Key? key,
})

Implementation

MapViewAppBar(this.context, {super.key})
    : super(
          centerTitle: true,
          toolbarHeight: 80,
          title: const Text(
            'West Tower  seaside building....',
            style: TextStyle(fontSize: 15),
          ),
          shape: const RoundedRectangleBorder(
              borderRadius: BorderRadius.only(
                  bottomRight: Radius.circular(25),
                  bottomLeft: Radius.circular(25))),
          elevation: 0.0,
          backgroundColor: const Color(0xFF4071FF),
          leading: InkWell(
              onTap: () {
                Navigator.pop(context);
              },
              child: ColorFiltered(
                colorFilter: const ColorFilter.mode(
                  Colors.white, // Replace this with the desired color
                  BlendMode.srcIn,
                ),
                child: SizedBox(
                    width: 150,
                    child:
                        Image.asset('assets/icons/common/backward_icon.png')),
              )));