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

      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:

      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

        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:

          How to Hide the Navigation Bar in Flutter for Android

          In this blog post, we will walk you through how to effectively hide the Android navigation bar using Flutter, including the bottom navigation bar and options to hide it upon app startup. Before we delve into the specifics of hiding the navigation bar, it's crucial to understand what it is and why you might want to hide it. The navigation bar typically contains the back button, home button, and recent apps button on Android devices. Hiding it can provide a full-screen experience for your users, particularly useful for games or media applications. To hide the Android bottom navigation bar in Flutter, you can use the SystemChrome class provided by the Flutter framework. Here’s a practical example demonstrating how to hide the bottom navigation bar within your app.

            How to Create a Login Screen in Flutter

            Creating a login screen is one of the fundamental steps in app development, especially when you're building applications that require user authentication. Flutter, with its beautiful UI capabilities and swift development times, makes this process straightforward yet elegant. In this post, I'll show you how to create a login screen in Flutter that not only looks great but also functions effectively. Before we dive into the login UI design, make sure you have Flutter installed on your machine. If you haven’t set up Flutter yet, you can follow the official installation guide at the Flutter website. Create your project with the following command: Navigate to your project directory: