Search packages, repositories and app categories

opscroll_web cover
Package detailsv0.3.2

opscroll_web

A library that provides create One-Page Scrolling for Flutter Web. Creating easy and fast one-page landing pages, also provide other scrolling animations like Fade&Drop&Water.

Web
30-day downloads
29
Likes
65
Pub points
140

Install package

flutter pub add opscroll_web

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

opscroll_web is a Flutter Web library that enables easy creation of one-page scrolling experiences, ideal for building fast and visually engaging landing pages. It offers built-in animations such as Fade, Drop, and Water effects to enhance user interaction. Designed specifically for web, it integrates seamlessly with Flutter’s web platform, providing smooth scrolling transitions and responsive design support. The package simplifies complex scroll-based layouts with minimal code, making it perfect for developers aiming to deliver dynamic web content without extensive custom implementation.

Use cases

  • Creating landing pages
  • Building interactive web portfolios
  • Implementing animated scroll sections
  • Designing single-page web apps
  • Enhancing user engagement with scroll effects

Key features

  • One-page scrolling
  • Fade, Drop, and Water animations
  • Web-optimized performance
  • Simple API integration
  • Responsive layout support
  • Smooth scroll transitions

Suitable for

  • Flutter Web developers
  • Landing page creators
  • Interactive UI designers
  • Frontend-focused app builders
  • Beginners seeking quick scroll effects

Considerations

  • Limited to web platform
  • May require tuning for complex layouts
  • Animation performance depends on device
  • Not suitable for mobile apps
  • Best used with static or semi-dynamic content

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

OPscroll_web

OPScroll

A simple and easy to use library that creates OnePage sites for Flutter Web Developers! Make a beautiful and smooth landing pages with OPScroll with in minutes. Try out our Web Demo App.


name

Table of contents

Installing

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  opscroll_web: ^0.0.2
2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get
3. Import it

Now in your Dart code, you can use:

import 'package:opscroll_web/opscroll_web.dart';

Usage

OPScroll is a Stateful Widget that produces OnePage scroll mechanicsm for your Flutter Web Projects. Include it in your build method like:

OpscrollWeb({
  onePageChildren:[],
  pageController:PageController(),
  scrollCurve : Curves.easeIn,
  scrollSpeed : const Duration(milliseconds: 900),
  floatingButtonBackgroundColor :Colors.white,
  floatingButtonSplashColor : Colors.white,
  isFloatingButtonActive : false,
  isTouchScrollingActive : false,
  scrollingAnimationOptions: ScrollingAnimationOptions.Default,
  scrollDirection = Axis.vertical,
})

Scrolling Options

You can allow to scrolling by tapping.Just give the true value to isTouchScrollingActive

isTouchScrollingActive=true,

You can allow to scrolling by Floating Action Button.Just give the true value to isFloatingButtonActive Also you can change background & splash colors.

isTouchScrollingActive=true, //Optional
floatingButtonBackgroundColor :Colors.white, //Optional
floatingButtonSplashColor : Colors.white, //Optional

Scrolling Animations

There are 4 scrolling options for OPScroll.

enum ScrollingAnimationOptions { Fading, Drop, Circle, Default }

You can only choice 1 scrolling animation options.


Fading Scrolling Animation

OpscrollWeb(
   isFloatingButtonActive: true,
   isTouchScrollingActive: true,
   pageController: pageController,
   scrollingAnimationOptions: ScrollingAnimationOptions.Fading,
   scrollSpeed: const Duration(milliseconds: 900,
   onePageChildren:[]),

Circle Scrolling Animation

OpscrollWeb(
   isFloatingButtonActive: true,
   isTouchScrollingActive: true,
   pageController: pageController,
   scrollingAnimationOptions: ScrollingAnimationOptions.Circle,
   scrollSpeed: const Duration(milliseconds: 600,
   onePageChildren:[]),

Drop Scrolling Animation

OpscrollWeb(
   isFloatingButtonActive: true,
   isTouchScrollingActive: true,
   pageController: pageController,
   scrollingAnimationOptions: ScrollingAnimationOptions.Drop,
   scrollSpeed: const Duration(milliseconds: 600,
   onePageChildren:[]),

Up Coming

  • [:white_check_mark:] Fade Scroll Effect
  • [:white_check_mark:] Drop Scroll Effect
  • [:hourglass_flowing_sand:] New Scroll Effects

Categories

Source repository

Projects using this package

No data available yet.