Tags / Dart

Dart 32 posts

Deep Linking for Flutter Web

This tutorial demonstrates how to implement URL navigation, protected routes, and custom transitions in a Flutter application using deep linking and a custom router.

2025-01-19 07:56:03.725Z Read post

How to create HTML Web Components with Dart

Learn about Web Components: create reusable HTML tags with JavaScript for progressive web app enhancement, framework compatibility, and independent deployment.

2025-02-14 12:00:00.000Z Read post

Displaying HTML in Flutter

Display HTML content within your Flutter app using the easy_web_view package, which provides a simple way to render HTML, Markdown, and URLs on both mobile and web platforms.

2025-01-19 08:08:22.142Z Read post

How to Export SQLite Tables to CREATE Statements

Export SQLite database schema (tables and indexes) to CREATE statements using Flutter, SQLite3, and Mustache templating.

2025-01-18 20:43:35.986Z Read post

Creating Your First Flutter Project

Flutter is a versatile, open-source UI toolkit by Google for building expressive cross-platform applications with a fast development process and a large, active community.

2025-01-19 07:34:27.436Z Read post

Lit and Flutter

Embed and utilize Lit web components within Flutter applications to access device APIs and create cross-platform apps with automatic updates.

2025-01-20 02:22:00.005Z Read post

How to build a Flutter app on Xcode Cloud

This article details how to set up Xcode Cloud for building Flutter applications for TestFlight and App Store submission, including project setup, installing dependencies, and configuring a post-clone script.

2025-01-20 00:38:40.775Z Read post

Multi-touch Canvas with Flutter

Flutter package providing multi-touch canvas functionality with panning, zooming, object selection, and trackpad support, including project setup instructions and a live demo.

2025-01-20 03:07:56.301Z Read post

How to build a graph database with Flutter

Create a graph database in Flutter using SQLite and the Drift package to model relationships between data, ideal for applications like social networks, games, and blogs.

2025-01-18 21:09:38.105Z Read post

Server Side Rendering Flutter Apps with RFW

Build a Flutter app with Server Side Rendering (SSR) and dynamic UI updates using the rfw package, addressing challenges of updating apps on older user versions with techniques like Code Push and version support policies.

2025-01-20 02:59:01.207Z Read post

Flutter Terminal Cheat Sheet

Automate common Flutter development tasks including web build optimizations, dependency management, testing, and project cleanup.

2025-01-20 00:13:39.469Z Read post

Using Fastlane in Flutter and CI

Automates Flutter project building, APK/IPA generation, and Git commits using Fastlane, requiring Flutter, Android/iOS app store setups, and basic project build knowledge.

2025-01-20 02:50:39.713Z Read post

Flutter + Fastlane (One Click Beta)

This guide provides step-by-step instructions for setting up a Flutter project, including creating the project, submitting it to the App Store and Google Play, and configuring Fastlane for iOS and Android development.

2025-01-20 00:07:34.792Z Read post

Host your Flutter Project as a REST API

Create a single Flutter project with a shared Dart library for models and business logic, enabling cross-platform development (iOS, Android, Web, etc.) and a REST API interface deployable to Google Cloud Run.

2025-01-20 00:30:40.634Z Read post

Building A Piano with Flutter

A lightweight Flutter piano app, created as a Flutter Create Contest winner, requiring a Flutter SDK, SoundFont file, and a physical iOS device or Android emulator/device; setup instructions and dependency details are provided.

2025-01-19 06:48:38.847Z Read post

How to build a native cross platform project with Flutter

Flutter now natively supports web development, removing the need for import changes and enabling full plugin compatibility; get started with the latest Flutter version and a starter project.

2025-01-20 00:56:31.391Z Read post

Calling the PaLM 2 API with Dart and Flutter

This tutorial guides Flutter developers through integrating the PaLM 2 API into their apps using Dart, including setup, API key management, and best practices for security and abuse prevention.

2025-01-19 07:17:50.962Z Read post

How To Send Push Notifications on Flutter Web (FCM)

Configure Firebase Cloud Messaging for Flutter web by modifying the index.html to use the `firebase-messaging-sw.js` service worker and providing your Firebase project credentials.

2025-01-20 01:11:12.099Z Read post

Signals and Flutter Hooks

Flutter's `setState` method manages UI updates by marking widgets as dirty, but using `ValueNotifier` in a container provides a more efficient and maintainable way to manage state and update the widget tree.

2025-01-31 12:00:00.000Z Read post

How to do Bitwise operations in Dart

Perform bitwise operations on integers and booleans in Dart using AND, OR, XOR, NAND, and NOR operators.

2025-01-19 02:35:57.588Z Read post

How to Print Multiple Objects to the Console with print() in Dart

Print multiple objects in Dart using Records for concise output, similar to JavaScript's `console.log` with object printing.

2025-01-19 02:39:50.688Z Read post

Check if an Object is Truthy in Dart

Dart's `isTruthy` extension allows treating objects as truthy, mimicking JavaScript's behavior, by handling null, boolean, numeric, string, iterable, and map types.

2025-01-19 02:25:47.322Z Read post

Various Ways to Invoke Functions in Dart

Dart functions can be called with positional arguments in any order mixed with named arguments, using the `.call` operator, or dynamically with `Function.apply` (note performance implications).

2025-01-19 02:43:50.527Z Read post

Flutter Infinite Canvas

Create an infinite canvas in Flutter using `InteractiveViewer` and `CustomMultiChildLayout` to display multiple scrollable scaffolds.

2025-01-19 05:33:00.331Z Read post

Flutter Input Output Preview

Flutter widget for a responsive two-pane layout with customizable primary and secondary content, title, actions, and dark mode support.

2025-01-19 05:35:39.744Z Read post

Flutter Markdown View with Material 3

Style Flutter Markdown widgets with Material 3 text and color styles for improved readability and visual consistency.

2025-01-19 05:37:02.727Z Read post

Flutter Master-detail view

Build a Flutter master-detail interface for displaying lists and details, adapting to mobile, desktop, and web layouts with a customizable widget.

2025-01-19 05:38:59.532Z Read post

Flutter Native HTTP Client

Flutter app initialization code using Cronet and Cupertino HTTP clients, dynamically selecting the appropriate client based on the device platform (Android or iOS).

2025-01-19 05:39:48.030Z Read post

Flutter Stream Widget

Flutter widget using streams in the `build` method for reactive UI updates, handling errors and empty states with `StreamBuilder`.

2025-01-19 05:41:20.631Z Read post

Lightweight Flutter Animations

Dart code defines `AnimationWidget`, an abstract class for creating animated widgets that simplifies UI updates by integrating a ticker and avoiding manual `setState` calls, demonstrated with an inline canvas painter example.

2025-01-19 05:45:19.179Z Read post

SQLite on the UI Thread

SQLite is a fast, process-level database library well-suited for UI-driven applications, offering efficient data handling even with large datasets and benefits from strategic indexing and query optimization.

2025-01-18 20:38:57.089Z Read post

How to Manage Multiple Flutter Versions with Git Worktrees and ZSH

Manage multiple Flutter SDK versions using Git worktrees and ZSH aliases for easy switching between stable, beta, and dev channels.

2025-01-19 02:32:18.215Z Read post