Add return button to cart tabbarview flutter

În desfăşurare Postat la acum 9 luni S-au achitat serviciile după ce au fost prestate
În desfăşurare S-au achitat serviciile după ce au fost prestate

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

ID Proiect: #37036658

Detalii despre proiect

14 propuneri Proiect la distanță Activ acum 9 luni

Acordat lui:

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 Mai multe

%selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD în 1 zi
(0 Recenzii)
0.0

14 freelanceri plasează o ofertă medie de 19$ pentru proiect

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 Mai multe

$30 USD în 1 zi
(6 recenzii)
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 Mai multe

$20 USD în 1 zi
(4 recenzii)
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 Mai multe

$10 USD în 7 zile
(6 recenzii)
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 Mai multe

$20 USD în 7 zile
(1 părere)
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 în 1 zi
(0 recenzii)
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 Mai multe

$30 USD în 1 zi
(0 recenzii)
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 Mai multe

$20 USD în 7 zile
(0 recenzii)
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 în 1 zi
(0 recenzii)
0.0