Categories
Mastering Development

Retrieve Cloud Firestore data just for user Logged in Flutter application

What I want to do is to retrieve data from Cloud Firestore just for user Logged into the app. I am using Auth Firebase and I built a method to retrieve some documents from a specific collection called "user" and it works and it show the right Name of the user logged and the user […]

Categories
Mastering Development

Widgets in my body stopped working after adding Bottom Navigation bar in flutter

I tried adding a bottom navigation bar to my project. As soon as I have finished the bottom navigation bar – all my widgets under the main body isn’t displaying. Android studio is not showing any error but still am getting the blank screen with only navigation bar at the bottom. If I remove the […]

Categories
Mastering Development

How to save on firebase checkboxlist equal true in flutter?

I would like to identify the selected items from a list linked to the firebase and save them to another list in the firebase after clicking save. I tried to save each time the user selected an item, but it didn’t work very well. Image containing the listed items import ‘package:cloud_firestore/cloud_firestore.dart’; import ‘package:flutter/material.dart’; class CheckBoxList […]

Categories
User Help Web Pro

Duplicate content, canonical url and json-ld Article

If I have a duplicate content, which URLs should I use in json-ld Article schema? To be precise, let’s say I want to publish an article from my blog.example.xyz on another site e.g. popular.example.com. When I publish the article on popular.example.com I go and update canonical URL on my blog.example.xyz, and og:url property (both should […]

Categories
Development

Why is my FutureBuilder not working when I press quickly

First of all, I am not experienced with Flutter/Dart or even programming, so this might be crap coding, but I tried my best to fix and research before asking here. So I have a page in an app where I need to update data from Firestore live with a StreamBuilder. And the only solution I […]

Categories
Development

Having a hard time to navigate from one screen to another in React Native

Every time I try to run the following code I get the error below: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it’s defined in, or you might have mixed up default and named […]

Categories
Development

SwiftUI NavigationBarItems get shrinked after navigating back from NavigationLinkDestination

I have the header of my iOS app built in SwiftUI, using another view as the leading view in NavigationBarItems .navigationBarItems(leading: NewsTitleHeader().frame(width: geometry.size.width, height: 60, alignment: .center)) looks like this All good, but after navigating back from any of the NavigationLink view destinations, the logo of the app gets cut, as seen below. here is […]

Categories
Development

The component for route ‘router’ must be a React component

I am facing this error says The component for route ‘router’ must be a React componenent. Unable to check on which line it is showing an error. Any suggestions, thanks App Navigator class import { createStackNavigator } from ‘react-navigation-stack’ import Login from ‘./src/Login’; import Fruits from ‘./src/Fruits’; import FruitZoom from ‘./src/FruitZoom’; const AppNavigator = createStackNavigator({ […]

Categories
Development

Warning: Each child in a list should have a unique “key” prop.%s%s

Hello to the whole community. I am doing a project in which the restaurants in my city can place their dishes and generate orders through the Application. But I am having an error with my project when executing it. This is the mistake I am having. Warning: Each child in a list should have a […]