Add return button to cart tabbarview flutter

En curso Publicado hace 9 meses Pagado a la entrega
En curso Pagado a la entrega

Please read carefully before writing, i need the answer today:

i'm using tabbarview for cart

the problem is that when i access to a product then to cart, i can not return to the viewed product because the cart is a tabview

below the code of the cart:

#########

AppBar buildAppBar({required bool isEmpty}) {

TranslateType translate = [login to view URL](context)!.translate;

ThemeData theme = [login to view URL](context);

TextTheme textTheme = [login to view URL];

int? count = _items?.length;

return AppBar(

// actions: [

// Visibility(

// visible: !isEmpty,

// child: IconButton(

// padding: const [login to view URL](right: itemPadding),

// icon: const Icon([login to view URL]),

// onPressed: () => buildDialog(context, translate),

// iconSize: 20,

// ),

// )

// ],

title: Text(

translate('cart_count', {'count': !isEmpty ? '($count)' : ''}),

style: [login to view URL],

),

shadowColor: [login to view URL],

centerTitle: true,

);

}

##########

i added

leading: IconButton(

icon: const Icon(Icons.keyboard_arrow_left, color: [login to view URL]),

onPressed: () {

[login to view URL](context);

},

to appbar it returns black screen

then i added

leading: IconButton(

icon: const Icon(Icons.keyboard_arrow_left, color: [login to view URL]),

onPressed: () {

[login to view URL](context).maybePop();

},

),

How to fix it ?

Android App Development Flutter

Nº del proyecto: #37036658

Sobre el proyecto

14 propuestas Proyecto remoto Activo hace 9 meses

Adjudicado a:

freelancersandh1

I can help you seamlessly integrate a return button into your Flutter cart's TabBarView, allowing easy navigation back to the viewed product. With my expertise in Flutter development, I'll ensure a smooth user experien Más

$40 USD en 1 día
(0 comentarios)
0.0

14 freelancers están ofertando un promedio de $19 por este trabajo

asimaarbi

Hello, I have extensive experience in Flutter, Firebase, and API integration. I have read your project proposal. I am interested in doing work for you. I can solve this issue for you very easily. Count me in for qualit Más

$30 USD en 1 día
(6 comentarios)
3.9
shakeebsun

I understand that you need to add a return button to the cart tabbarview so that customers can return to the viewed product after accessing it from the cart. I am confident that my skillset and experience make me the b Más

$20 USD en 1 día
(4 comentarios)
3.3
renish8684

Hello Dear Client, - Hope you are doing well. I can make your mobile app. I have 3+ years of experience in mobile app development. If you’re looking for a good experienced mobile developer, let’s talk about a perfect m Más

$10 USD en 7 días
(6 comentarios)
2.0
Ibrahim5490

Hello, I'm Ibrahim and I'm an experienced flutter expert with extensive experience in developing solutions for over 2+ years. I have worked on a number of successful projects before, so you can be sure that your projec Más

$20 USD en 7 días
(1 comentario)
0.6
Upendrapandit203

Hi, I previously worked on a Grocery delivery where I worked with Tabbars so I can certainly help you with this. Lets connect and discuss more. Thanls

$10 USD en 1 día
(0 comentarios)
0.0
Aashish0510

Hello, I understand that you need to go back to product page that you were watching previously after tapping back button on cart page. I am able to do it. Please share me full code with UI and I will implement it. If t Más

$30 USD en 1 día
(0 comentarios)
0.0
mahadsheikh08

Hi there, thanks for your inquiry. My name is Muhammad Mahad and I'm a freelancer with extensive experience in flutter coding, firebase, C++ coding, Java coding, Python coding, web development, HTML, CSS, JavaScript, S Más

$20 USD en 7 días
(0 comentarios)
0.0
HoucemHbiri

I need to know how do you exactly access the product so i can help you, but i can defenitely find you the solution for your problem in no time.

$10 USD en 1 día
(0 comentarios)
0.0