skip to Main Content

Flutter – GestureDetector – onTap: widget.press(), – final Function press;- Navigator.of(context).push();

This is my first page (RecomendsPlants) and I want to move to another page called (DetailsScreen) RecomendsPlants: // ignore_for_file: prefer_const_constructors import 'package:flutter/material.dart'; import 'package:mr_plants_store/constants.dart'; import 'package:mr_plants_store/screens/details/details_screen.dart'; class RecomendsPlants extends StatefulWidget { const RecomendsPlants({super.key}); @override State createState() => _RecomendsPlantsState(); } class…

VIEW QUESTION

jQuery.post() not found

I am trying to create a shopping cart. I have a function to add products in the cart : jQuery('#shop-add-btn').click(function () { modal.style.display = "block"; var Product = { idProduct: jQuery(this).data('idproduct'), name: jQuery(this).data('nameproduct'), quantity: jQuery("#quantity").val(), price: jQuery(this).data('price'), poids: jQuery(this).data('poids') };…

VIEW QUESTION

Navigator inside QuickAlert Dialog does not work – Flutter

In flutter, I have this Screen deep down in my MaterialApp's widget tree: class ItemDetailsScreen extends StatefulWidget { ItemDetailsScreen(); @override State<ItemDetailsScreen> createState() => _ItemDetailsScreenState(); } class _ItemDetailsScreenState extends State<ItemDetailsScreen> { @override Widget build(BuildContext context) { bleController.onBleStatusChange('box_is_open', context); return Scaffold(.... }…

VIEW QUESTION

Anaconda-navigator won't start – Debian

I believe that I installed Anaconda Naviagtor on linux correctly but it is getting stuck on loading applications.... (base) ben@Bens-PC:~$ anaconda-navigator Traceback (most recent call last): File "/home/ben/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py", line 541, in setup self.post_setup(conda_data=conda_data) File "/home/ben/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py", line 578, in post_setup self.tab_home.setup(conda_data)…

VIEW QUESTION
Back To Top
Search