Creative Bracket

fullPage.js–Get started in Dart

In today’s tutorial we will learn how to use the fullPage.js presentation library in a Dart web project. We will be using the js package by the Dart team to achieve this.

Setup

Install stagehand and generate a web project:

pub global activate stagehand
mkdir my_project && cd my_project
stagehand web-simple

Amend the dependencies section of the pubspec.yaml file:

dependencies:
  js: ^0.6.0

And update your dependencies:

pub get

Conclusion

I hope this was insightful and you learned something new today.

Subscribe to my YouTube channel to learn full-stack web development with Dart.

Like, share and follow me 😍 for more content on Dart.

Further reading

  1. js package
  2. How to Use JavaScript libraries in your Dart applications
  3. fullPage.js library

Jermaine Oppong

Hello 👋, I show programmers how to build full-stack web applications with the Dart SDK. I am passionate about teaching others, having received tremendous support on sites like dev.to and medium.com for my articles covering various aspects of the Dart language and ecosystem.

Useful learning materials