Latest Tutorials

Learn about the latest technologies from fellow newline community members!

  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL
  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL

    Working with Flutter's Built-in Widgets - Text

    In the realm of app development, the significance of text cannot be overstated. It's not just a means of communication; it's also a key element that contributes to your app’s aesthetics and usability. Flutter, Google's UI toolkit for crafting natively compiled applications, offers a potent widget for text representation that is simple yet incredibly versatile: the Text widget. Before diving into more advanced functionality, it’s vital to understand the basics. The simplest way to add text in your Flutter application is by using the Text widget. Here’s a straightforward instance: The Text widget comes packed with several properties that enhance text rendering. Here’s a quick overview:

      Working with Flutter's Built-in Widgets - Image

      If you’re learning how to use Flutter, understanding how to leverage the built-in widgets is vital. One of the most frequently used widgets is the Image widget. In this post, we’ll explore how to use this versatile widget effectively. You’ll learn about various ways to display images, how to handle different image sources, and tips to optimize image performance in your Flutter apps. The Image widget in Flutter is a built-in class that allows you to display images. It provides a simple interface to load images from various sources, including assets, network URL, and file storage. Here’s a breakdown of how to utilize the Image widget effectively: Before we dive into different image sources, let’s take a quick look at some key properties of the Image widget:

      I got a job offer, thanks in a big part to your teaching. They sent a test as part of the interview process, and this was a huge help to implement my own Node server.

      This has been a really good investment!

      Advance your career with newline Pro.

      Only $40 per month for unlimited access to over 60+ books, guides and courses!

      Learn More

        Flutter Layouts: Rows, Columns, and Stacks

        Building user interfaces in Flutter is a breeze once you understand how its layout system works. The foundation of Flutter's UI-building experience lies in its layout widgets: Rows, Columns, and Stacks. Learning to effectively use these three core components will not only enhance your app's design but will also significantly improve user experience. In Flutter, everything is a widget. This includes layout components, which means that Rows, Columns, and Stacks are also widgets. Each one is designed to help you organize and position other widgets efficiently. A Row is a horizontal layout widget. It allows you to align multiple children widgets in a single horizontal line. By default, Rows will size themselves according to the height of their tallest child.

          Understanding Flutter’s Stateful Modal Sheet

          When using Flutter to build apps, you probably want to create dynamic and responsive UI components. One weapon in your arsenal is the stateful modal sheet , a versatile and powerful tool for displaying content in a modal format. In this post, we'll explore this feature. _f_ocusing on its creation, features, and how to handle state effectively through various scenarios. A stateful modal sheet in Flutter allows you to display a sheet (similar to a dialog) that can hold dynamic content. Unlike a stateless modal sheet, which remains unchanged after being rendered, a stateful modal sheet can update its content based on user interaction or other events in the application. To illustrate this, consider the following applications of a stateful modal sheet:

            Flutter Supabase SignInWithPassword Error Handling

            When developing applications with Flutter and utilizing Supabase for backend services, error handling is crucial. In this post, we'll dive into best practices for managing errors specifically during the sign-in process when using the signInWithPassword method. Supabase provides a seamless way to authenticate users, but like any system, things can occasionally go wrong. Here’s a quick overview of the error handling process when using the signInWithPassword method. While working with signInWithPassword , you may encounter the following error scenarios: