Coding Studio

Learn & Grow together.

Browsing:

Category: Tech Post

How MediaQuery & LayoutBuilder used in adoptive design in Flutter application?

When to use MediaQuery or LayoutBuilder MediaQuery.sizeOf(context):Purpose: To get the overall screen size (width and height).When to Use:When you need to know the device’s screen dimensions.When you want to create layouts that are relative to the screen size (e.g., a Read more…


Sample Flutter App to Take Camera Picture

Taking a pic through a mobile camera is a very common phenomenon. In this topic, we would see how to implement a camera app in Flutter. Let’s start on it. pubspec.yaml dependencies version: 1.0.0+1environment: sdk: ^3.6.0# Dependencies specify other packages Read more…


What are scope functions in Kotlin? How to use them!!

Kotlin scope function ( let, run, with, apply, also ) Basically, these functions all perform the same action: execute a block of code on an objectWhen you call such a function on an object with a lambda expression provided, it Read more…


Difference between Flutter & React Native?

Flutter and React Native are two popular frameworks for developing cross-platform mobile applications. Here’s a comparison of both, along with their future scopes. 1. Technology Overview 2. Advantages Feature Flutter React Native UI/UX Consistency Consistent across platforms (pixel-perfect) UI adapts Read more…


SOLID Principles – Do you understand them?

The SOLID principles help in writing clean, scalable, and maintainable code, and they are highly applicable in Java as well. Let’s go through each principle with examples in Java. 1. Single Responsibility Principle (SRP) A class should have only one Read more…


Capture Images & Video in the Flutter App

Add Dependencies First, add the image_picker package to your pubspec.yaml file: dependencies:flutter:sdk: flutterimage_picker: ^0.8.7+4 Then, run flutter pub get to install the package. Update Android and iOS Configuration Android In your android/app/src/main/AndroidManifest.xml, add the following permissions: <uses-permission android:name=”android.permission.CAMERA”/> <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/> Read more…


A well-architected Android project structure with explanations.

Objective To describe the Android project structure which focuses on separation of concern, modularization, scalability & Testability. Kindly Note: This is only a structural explanation. Here, it doesn’t cover detailed classes. Project Structure (Modularization): App Module: This is your main Read more…


Understanding Storage Types in Android: A Comprehensive Guide

Android provides multiple storage options to manage data efficiently based on different use cases. Understanding these storage types is crucial for building apps that handle data securely and efficiently. This guide will explore the various storage types in Android, along Read more…


What is a UML Diagram & its types?

Unified Modeling Language (UML) is a standardized visual language used to create models of software systems, hardware systems, business processes, and other systems. UML helps to specify, visualize, construct, and document the artifacts of a system. Types of UML Diagrams Read more…


Understanding Flutter Streams with Examples

Introduction to Streams in Flutter Streams are a core concept in Dart and Flutter for managing asynchronous data. They are particularly useful when dealing with data that changes over time, like user inputs, real-time updates, or event streams. This blog Read more…