import 'package:flutter/material.dart'; class CustomAppBar extends StatefulWidget { const CustomAppBar({super.key}); @override State createState() => _CustomAppBarState(); } class _CustomAppBarState extends State { @override Widget build(BuildContext context) { return Row( children: [ GestureDetector( onTap: () => Navigator.of(context).pushNamed('home'), child: SizedBox( height: 50, width: 50, child: Image.asset('Turquessa.png'))) ], ); } }