Tags / dart

dart 40 posts

Home

Rody Davis is a Senior Developer Advocate for AntiGravity, building Web Components and Dart/Flutter packages, and is also a musician and podcast host.

2024-03-20 Read post

About Me

Rody Davis is a Senior Developer Relations Engineer at Google, passionate about VR/AR, Web Components, and Dart/Flutter packages, and a musician and podcaster based in San Francisco.

2025-01-18 19:18:39.857Z Read post

How To Host Your Podcast For Free On Github Pages

Host your podcast for free using GitHub Pages by forking and customizing a readily available repository, enabling website hosting and automated episode releases.

2025-01-20 01:07:48.503Z Read post

Various Ways to Invoke Functions in Dart

Dart functions can be invoked using positional arguments, named arguments in any order, the `.call` operator, or `Function.apply` for dynamic invocation, with `Function.apply` impacting compilation size and performance.

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

How to do Bitwise operations in Dart

Learn how to perform bitwise operations (AND, OR, XOR, NAND, NOR) with integers and booleans in Dart, including examples and explanations.

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

How to Export SQLite Tables to CREATE Statements

Export SQLite database schema to CREATE statements using Dart, SQLite3, and Mustache templating for code generation.

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

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

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

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

Calling the PaLM 2 API with Dart and Flutter

This tutorial guides Flutter developers through calling the PaLM 2 API using Dart, including setup, API key management, and an example API wrapper.

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

Check if an Object is Truthy in Dart

Dart doesn't natively support truthy checks like JavaScript, but you can add a custom extension to treat objects as truthy, handling null, boolean, numeric, string, iterable, and map types.

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

How to create HTML Web Components with Dart

Learn how to build reusable HTML web components with Dart, leveraging their benefits for framework-agnostic development and progressive enhancement.

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

Building A Piano with Flutter

Create a piano app with only 5032 bytes of Dart code using Flutter, requiring a SoundFont file and a physical device, with setup instructions and code dependencies provided.

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

How to Run Astro SSR and PocketBase on the Same Server

This tutorial demonstrates how to run Astro with server-side rendering (SSR) and PocketBase on the same server by setting up a Go proxy to route requests between them.

2025-01-18 22:05:53.055Z Read post

Automate Flutter App Releases

Automates Flutter app release processes, including building, committing changes, and deploying to beta and production via Fastlane.

2025-01-19 06:09:34.328Z Read post

Flutter Terminal Cheat Sheet

A collection of Flutter commands for web development, including configuration, build processes, debugging, testing, and project cleanup.

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

Displaying HTML in Flutter

Display HTML content in Flutter using the `easy_web_view` package for both web and mobile platforms, providing a convenient way to render HTML and Markdown content within your Flutter applications.

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

Creating Your First Flutter Project

Learn how to install Flutter and create your first Flutter project for cross-platform app development on web, iOS, Android, and more.

2025-01-19 07:34:27.436Z 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 master channels.

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

How to build a graph database with Flutter

Build a graph database in Flutter using SQLite and Drift, ideal for modeling relationships between data in applications like social networks, games, and blogs.

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

Host your Flutter Project as a REST API

This tutorial demonstrates how to create a single Flutter project that serves as both a client application and a REST API, enabling code reuse and simplifying data management, deployable to platforms like Google Cloud Run.

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

Lit and Flutter

Embed a Lit web component in a Flutter application to access device APIs and create a cross-platform app that updates automatically with website changes.

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

Multi-touch Canvas with Flutter

Flutter package providing a multi-touch canvas implementation 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 native cross platform project with Flutter

Learn how to create native cross-platform Flutter projects with web support, enabling the use of all plugins and a streamlined development experience.

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

Signals and Flutter Hooks

Flutter's `setState` method manages widget state, but using `ValueNotifier` in a container provides a more efficient and manageable way to update the UI based on data changes, especially with widgets like `ValueListenableBuilder`.

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

Server Side Rendering Flutter Apps with RFW

Learn how to implement server-side rendering (SSR) in Flutter applications using the rfw package for dynamic UI updates and efficient code delivery, addressing challenges related to user versioning.

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

Deep Linking for Flutter Web

This tutorial demonstrates how to implement deep linking, protected routes, and custom transitions in a Flutter web application.

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

How To Send Push Notifications on Flutter Web (FCM)

Implement Firebase Cloud Messaging (FCM) on Flutter Web by registering a service worker and initializing the Firebase app with your project credentials.

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

Using Fastlane in Flutter and CI

Automate Flutter app builds and releases to Google Play and App Store using Fasthlane by initializing the tool, configuring the Fasthile, and defining build/beta actions.

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

Async Preact Signals

Learn how to effectively use async data with preact/signals, including handling Promises and rerun operations for dynamic updates, while understanding the importance of synchronous computations for signal integrity.

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

Using SQLite as a Key Value Store

Use SQLite as a key-value store to efficiently manage settings and non-relational data by creating a table, saving, reading, deleting, and searching values using SQL queries.

2025-01-17 06:54:23.265Z Read post

IDX & Flutter by Rody Davis, Senior Developer Advocate - Google

Google's Rody Davis discusses how IDX simplifies developer workflows, particularly when used with Flutter and Dart.

2024-10-29T00:00:00.000Z Read post

Google Cloud Next 2022, Dart partnership with GitHub, and more dev news!

Google Developer News Show covers Dart's partnership with GitHub for supply chain security, Google Cloud Next 2022 announcements, and other recent developer updates.

2022-10-13T00:00:00.000Z Read post

Flutter Infinite Canvas

Build an infinite canvas in Flutter using InteractiveViewer and CustomMultiChildLayout for creating multi-touch canvases and dynamic layouts.

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

Flutter Input Output Preview

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

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

Lightweight Flutter Animations

Flutter code demonstrating a lightweight animation widget that simplifies state management and UI updates by using a ticker and custom painting.

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

Flutter Markdown View with Material 3

Style Flutter Markdown content with Material 3 text and color styles using the flutter_markdown package.

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

Flutter Master-detail view

Build a Flutter master-detail view for mobile, desktop, and web applications, handling list rendering and detail screen navigation with a customizable widget.

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

Flutter Native HTTP Client

Flutter code demonstrating how to implement a native HTTP client that adapts to Android (using Cronet) and Cupertino (using CupertinoHTTP) platforms, leveraging device information for user agent customization.

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

Flutter Stream Widget

Flutter StreamWidget allows building widgets directly from streams, providing a reactive approach for dynamic UI updates.

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

Flutter State Management and Dart Nullability feat. Simon Lightfoot

This video features a discussion with Simon Lightfoot on Flutter state management and Dart nullability, hosted by Norbert Kozsir and Rody Davis, with links to their profiles and resources.

2023-11-28T00:00:00.000Z Read post

Flutter Testing and AppStore Rejection

This video discusses Flutter testing strategies, common pitfalls leading to App Store rejections, and solutions for improving app quality and test coverage, including state management, UI testing, logging, and mocking.

2023-11-07T00:00:00.000Z Read post