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
    NEW

    Understanding OpenSeadragon Constructor Options

    OpenSeadragon is a powerful open-source JavaScript library that facilitates the viewing of large images in a zoomable interface, making it ideal for applications where high-resolution images are pivotal. Utilizing OpenSeadragon in your projects allows you to enhance user experiences with smooth and responsive image navigation. In this article, we will explore the constructor options available in OpenSeadragon. Constructor options allow you to customize the viewer to your specific needs, improving usability, and enhancing functionality. When initializing an OpenSeadragon viewer, you pass a configuration object, including various options tailored to your application. Below is the basic syntax used to create a viewer:

      NEW

      Flutter: Change Border Thickness of TextField

      When developing applications in Flutter, one of the common components you'll encounter is the TextField . Customizing its appearance can significantly enhance user experience, and one often overlooked feature is the border thickness. In this guide, we'll explore how to change the border thickness of a TextField , providing practical examples and diagrams along the way. Before diving into customization, let’s quickly review the TextField widget. This essential Flutter component allows users to input text. However, its default styling may not always align with your app's design aesthetics. By default, a TextField has an underline, but Flutter allows you to customize this border using the InputDecoration class. This class provides several properties to control the appearance of the border, including thickness.

      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
        NEW

        Flutter ExpansionPanel Border Radius: Enhancing UI Design

        ExpansionPanel allows Flutter devs to expand and collapse content, which is beneficial for managing space and providing a better user experience. But how do you elevate the aesthetic quality of these panels? The answer lies in the borderRadius . In this post, we’ll explore how to seamlessly integrate borderRadius in Flutter's ExpansionPanel , enhancing both functionality and style. Before diving into customization, let’s quickly review what an ExpansionPanel is in Flutter. An ExpansionPanel is a widget designed to show or hide the contents of a section when tapped. It usually consists of a header and the expandable content beneath it. Here’s a basic example:

          NEW

          Dealing with Flutter Error Status Code 401

          When developing applications with Flutter, you might encounter various errors that can halt your progress. One of the most common is the Flutter error status code 401 , which indicates an authentication issue. Understanding this error is crucial for any developer aiming to build seamless applications. In this post, we'll explore what status code 401 means, how to resolve it, and some common scenarios where you might encounter it. Status code 401, also known as "Unauthorized," is an HTTP response status code that indicates that a request has not been applied because it lacks valid authentication credentials for the target resource. In simpler terms, this error occurs when your application tries to access a resource for which it does not have permission due to missing or incorrect authentication information. When facing this error, consider the following steps for troubleshooting:

            NEW

            Animations in Flutter: Implicit and Explicit Animations

            One of Flutter's standout features is the ability to integrate animations seamlessly into your app, allowing developers to craft engaging and interactive user experiences. There are two primary animation styles in Flutter: implicit and explicit animations. Understanding these two types can greatly enhance the responsiveness and appeal of your Flutter applications. Implicit animations in Flutter operate with simplicity, allowing you to animate properties without writing explicitly defined animation code. These animations rely on the Animated widget, which automatically transitions between states when the underlying property changes. Let's consider a simple example where we utilize an implicit animation to change the size of a box: