fog_edge_blur 0.0.2 copy "fog_edge_blur: ^0.0.2" to clipboard
fog_edge_blur: ^0.0.2 copied to clipboard

A Flutter plugin that adds a customizable fog edge blur effect for immersive UI headers, overlays, and scroll effects.

FogEdgeBlur #

FogEdgeBlur is a Flutter plugin that adds a customizable fog edge blur effect on top of your widgets, perfect for creating immersive UI headers, overlays, or artistic effects.


Features #

  • Apply fog edge blur to the top, bottom, or custom edges of your widget.
  • Customize the height, color, and opacity of the fog edge.
  • Works seamlessly with ListView, ScrollView, or any child widget.
  • Easy to integrate into your Flutter project.

Installation #

Add the plugin to your pubspec.yaml:

dependencies:
  fog_edge_blur: ^0.0.1
flutter pub get

FogEdgeBlur Demo #


Static Image

Animated GIF

Android Setup #

Important: To ensure the plugin works correctly, you must disable Impeller in your Android project. Add the following

<meta-data
    android:name="io.flutter.embedding.android.EnableImpeller"
    android:value="false" />

Usage Example #

FogEdgeBlur(
  edgeAlign: EdgeAlign.top,
  fogEdgeChild: FogEdgeChild(
    heightEdge: 160,
  ),
  child: ListView.builder(
    itemCount: 20,
    itemBuilder: (context, index) {
      return Center(
        child: Container(
          color: Colors.red,
          height: 100,
          width: 100,
          margin: EdgeInsets.only(bottom: 20),
        ),
      );
    },
  ),
)
3
likes
140
points
98
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that adds a customizable fog edge blur effect for immersive UI headers, overlays, and scroll effects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_shaders, plugin_platform_interface

More

Packages that depend on fog_edge_blur

Packages that implement fog_edge_blur