Dharmendra Kumar, Senior Software Engineer & Co founder at MyhospitalNow

  • How to Fix Git merge ā€œPlease enter a commit message to explain why this merge is necessaryā€ erro

    How to Fix Git merge ā€œPlease enter a commit message to explain why this merge is necessaryā€ erro

    The error message “Please enter a commit message to explain why this merge is necessary” is one that you probably encounter while working as a DevOps engineer or on a git repository. I’ll go into the reasons for this mistake, how to repair it, and some solutions in this post. Why git asked me ā€œPlease…

  • lib/main.dart:46:13: Error: Setter not found: ‘platformCallbacksHandler’. WebView.platformCallbacksHandler = (method, args) async {

    lib/main.dart:46:13: Error: Setter not found: ‘platformCallbacksHandler’. WebView.platformCallbacksHandler = (method, args) async {

    Error: Solution: The use of WebView.platformCallbacksHandler and clearHistory() in the most recent webview_flutter package version appears to be problematic. Changes to the package API are most likely the cause of the error. This is a revised version of your code that makes use of the most recent webview_flutter package: I’ve changed WebView.platformCallbacksHandler to window in…

  • Login with Google in Laravel 10 App using Socialite Package |Ā Add Sign-in with Google feature in Laravel

    Login with Google in Laravel 10 App using Socialite Package |Ā Add Sign-in with Google feature in Laravel

    I’m going to learn how to sign up and log in to a Google account using Gmail in this video. Please take the few simple actions listed below. You can log in using Google after following this tutorial. Step 1: Install Laravel Step 2: Go to .env and set up connect with database Step 3:…

  • Advanced Git Commands for Troubleshooting and Debugging

    Advanced Git Commands for Troubleshooting and Debugging

    When you use Git, things don’t always go as planned or as you would expect. Here are some pointers for identifying and fixing Git problems. Debugging When troubleshooting problems with Git, try these debugging techniques. Use a custom SSH key for a Git command Debug problems with cloning For Git over SSH: For Git over…

  • lib/main.dart:48:30: Error: ‘JavascriptChannel’ isn’t a type.

    lib/main.dart:48:30: Error: ‘JavascriptChannel’ isn’t a type.

    Error: Solution: It appears from the error messages that there is a lack of recognition for the JavaScriptChannel and JavaScriptMessage types. Changes in the API of the flutter_inappwebview package may be the cause of this. The addJavaScriptHandler method 2 has superseded the JavaScriptChannel and JavaScriptMessage classes, according to the official flutter_inappwebview documentation. This is how…

  • How to get Device info in Flutter

    How to get Device info in Flutter

    The first goal for any developer should be to create apps that are compatible with as many devices as possible. It’s possible that occasionally our application won’t function on certain devices; in such cases, it’s ideal to collect device information. in order for developers to easily track and solve bugs using that log report. Using…

  • Top 50 Linux Commands You MUST Know

    Top 50 Linux Commands You MUST Know

    The Top 50 Linux Commands Every Regular User Needs to Know Let’s now examine each of these instructions in greater detail and go a little further into them. There are numerous articles already available for each of those specific commands. We will continue to update the page when new topics are discussed and provide links…

  • How to Protect and Secure PHPMyAdmin in Production Server?

    How to Protect and Secure PHPMyAdmin in Production Server?

    What is phpMyAdmin? A cross-platform, free, open-source, and PHP-based web programme called phpMyAdmin provides a straightforward, robust, and practical browser-based graphical user interface (GUI) for working with MySQL databases. It simplifies the process of establishing, maintaining and configuring MySQL databases simpler and much more efficiently. Why Secure phpMyAdmin? Developers and system administrators use phpMyAdmin extensively…

  • Flutter pub get version solving failed

    Flutter pub get version solving failed

    A mismatch between the Dart SDK version installed on your machine and the version indicated in your pubspec.yaml file is usually the cause of the error “Flutter pub get version solving failed”. You must change the Dart SDK version in your pubspec.yaml file to correspond with the version that is installed on your computer in…

  • Error: Type ‘Completer’ not found. Error in latest flutter version : Flutter 1.17.0 • channel stable

    Error: Type ‘Completer’ not found. Error in latest flutter version : Flutter 1.17.0 • channel stable

    Error: Sulotion: It is evident from the error message that the Completer class cannot be located. Since this class is a component of the dart:async library, import it first in your Dart file: A version mismatch between your Flutter SDK and the dart:async library may be the cause of the problem if you have already…

  • Generate Signed APK: Errors while building APK. You can find the errors in the ‘Messages’ view

    Generate Signed APK: Errors while building APK. You can find the errors in the ‘Messages’ view

    Error: Solution: This line makes it quite evident that sat cannot download groovy-all.jar. This is your build, please add.Gradle Occasionally, a lousy or inadequate internet connection may be the cause. Do you have an internet connection?

  • Flutter doctor –> Android toolchain – develop for Android devices (Android SDK version 32.1.0-rc1)

    Flutter doctor –> Android toolchain – develop for Android devices (Android SDK version 32.1.0-rc1)

    Error: Solution: 2- if a build-tools (version number) exception appears,

  • How to fix Error: laravel.log could not be opened?

    How to fix Error: laravel.log could not be opened?

    Error: Solution: If the aforementioned fixes don’t work, you can try turning on Laravel’s debug mode to learn more about the error. Set the APP_DEBUG value to true in the.env file to activate debug mode. When a 500 error happens, this will cause the browser to display thorough error messages. Run all commandsFor permission Run

  • lib/main.dart:35:11: Error: No named parameter with the name ‘javaScriptHandlers’.javaScriptHandlers: [

    lib/main.dart:35:11: Error: No named parameter with the name ‘javaScriptHandlers’.javaScriptHandlers: [

    Error: Solution: The error message shows that the InAppWebViewOptions class does not have a named parameter named javaScriptHandlers. This is probably because the API for the flutter_inappwebview package has changed. The addJavaScriptHandler function in the onWebViewCreated callback should be used to add JavaScript handlers rather than javaScriptHandlers. This is how to change your code: And…

  • Error: Couldn’t resolve the package ‘flutter_inappwebview’ in ‘package:flutter_inappwebview/flutter_inappwebview.dart’.

    Error: Couldn’t resolve the package ‘flutter_inappwebview’ in ‘package:flutter_inappwebview/flutter_inappwebview.dart’.

    Error: Solution: The reason for the error message “Couldn’t resolve the package ‘flutter_inappwebview’” could be that the package hasn’t been fetched or added to your pubspec.yaml file. First, confirm that the flutter_inappwebview package is included to the requirements section of your pubspec.yaml file: Use the command flutter pub get in your terminal to fetch the…

  • Error: Cannot pull with rebase: You have unstaged changes

    Error: Cannot pull with rebase: You have unstaged changes

    Error: Solution:

  • Flutter Could not prepare to run the isolate

    Flutter Could not prepare to run the isolate

    Error: Solution:

  • A non-null String must be provided to a Text widget

    A non-null String must be provided to a Text widget

    Error: Solution: It seems that the issue might be with the keys in the city map when constructing DropdownMenuItem. The key ‘city_name ‘ might have an extra space at the end, which could be causing the mismatch. Please try removing the extra space in the key. Here’s the modified code:

  • Flutter : Target file “lib/main.dart” not found

    Flutter : Target file “lib/main.dart” not found

    Sulotion: It appears that you are having trouble with the main.dart file not being located in the lib directory. There are a number of possible causes for this issue, such as missing files or improper project configuration. Here are some methods you can try to fix this issue:

  • How to upload the Flutter app to the Play Store

    How to upload the Flutter app to the Play Store

    , ,

    Generate an APK or App Bundle for your app: You can generate an APK or App Bundle using the following command in the terminal: Step 1:Ā Run in your terminal Step 2:Ā Run your terminal Step 3:Ā run this command on your terminal Step 4: Open your project in Android Studio. and wait for a while it will…