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

    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:

      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 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:

          Using PSD Designs in Flutter

          Converting PSD designs into Flutter applications. can often prove challenging This blog post will explore the process and considerations involved in working with Flutter and PSD designs. PSD (Photoshop Document) files use layered images to create detailed visual elements of applications. The challenge for developers is to accurately translate these designs into Flutter widgets, ensuring the final product retains the intended aesthetics and user experience. Before diving further into the specifics of PSD to Flutter conversions, let’s revisit why Flutter is a favorite among developers:

            Building Your First Flutter App - Scaffold()

            Among the core building blocks that Flutter provides, Scaffold stands out as one of the most vital widgets for layout design. This post will guide you through the essentials of using Scaffold() to structure your app's interface effectively. The Scaffold widget is a part of the Material Design framework in Flutter. It provides a framework that implements the basic visual layout structure of the Material Design. When you're building a Flutter application, the Scaffold widget is often your starting point. Here’s why: Let’s create a simple Flutter application using Scaffold() . This example will demonstrate the essentials of a typical app layout with navigation.