Search packages, repositories and app categories

Package detailsv1.0.0+2

social_media_widgets

A new flutter package for collection of common popular social media widgets like instagram story swipe and snapchat screen dismiss

30-day downloads
6
Likes
84
Pub points
40

Install package

flutter pub add social_media_widgets

Package Overview

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

A Flutter package offering a collection of commonly used social media interface components, such as Instagram-style story swiping and Snapchat-inspired screen dismissal gestures. Designed to simplify the implementation of popular social media interactions within Flutter apps, it provides reusable, customizable widgets that enhance user experience with familiar navigation patterns. The package is ideal for developers building social networking features or content-driven applications requiring intuitive gesture-based navigation.

Use cases

  • Implementing Instagram-style story viewers
  • Creating Snapchat-like full-screen dismissible overlays
  • Building interactive content carousels
  • Enhancing user engagement with swipe gestures
  • Developing social media app UIs
  • Adding gesture-based navigation to media feeds

Key features

  • Pre-built Instagram story swipe component
  • Snapchat-style screen dismissal gesture
  • Gesture-responsive design elements
  • Customizable animation transitions
  • Easy integration via pub add command
  • Reusable and modular widget architecture

Suitable for

  • Social media app developers
  • UI/UX designers using Flutter
  • Apps with content-heavy story interfaces
  • Developers seeking quick gesture implementations
  • Flutter beginners exploring interactive UIs
  • Projects requiring native-like social media interactions

Considerations

  • Limited platform support (no specific platforms listed)
  • Depends on external GitHub repository for updates
  • May require additional styling customization
  • Not optimized for complex animations beyond basic gestures
  • No official documentation provided in the metadata
  • Potential need for dependency management with future updates

Original README

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

Social Media Widgets - package

A new flutter package for collection of common popular social media widgets

Currently available widgets

  • Snapchat screen dismiss - By swiping down
  • Instagram story swipe

Adding basic Snapchat screen dismiss

Navigator.push(
  context,
  MaterialPageRoute(
    builder: (context) => SnapchatDismiss(
      child: Screen('Screen', Colors.redAccent),
    ),
  ),
);

Here we are navigating to another screen and applying the snapchat screen dismiss

Adding basic Snapchat screen dismiss with previous screen as background

Navigator.push(
  context,
  PageRouteBuilder(
    opaque: false,
    pageBuilder: (_, __, ___) =>
        SnapchatDismiss(child: Screen('Screen', Colors.redAccent),)
  ),
);

Here we are navigating to another screen and applying the snapchat screen dismiss and with the previous screen as background when we dismiss

Adding basic Snapchat screen dismiss with increased dismiss height

Navigator.push(
  context,
  PageRouteBuilder(
    opaque: false,
    pageBuilder: (_, __, ___) => SnapchatDismiss(
      dismissHeight: 250,
      child: Screen('Screen', Colors.redAccent),
    ),
  ),
);

Here we are navigating to another screen and applying the snapchat screen dismiss and this will require more drag than default to dismiss screen

Basic Instagram Story Swipe

Navigator.push(
  context,
  MaterialPageRoute(
    builder: (context) => InstagramStorySwipe(
      children: <Widget>[
        Screen('Screen 1', Colors.lightBlueAccent),
        Screen('Screen 2', Colors.redAccent),
        Screen('Screen 3', Colors.greenAccent),
      ],
    ),
  ),
);

Instagram Story Swipe with initial page specified

Navigator.push(
  context,
  MaterialPageRoute(
    builder: (context) => InstagramStorySwipe(
      initialPage: 1,
      children: <Widget>[
        Screen('Screen 1', Colors.lightBlueAccent),
        Screen('Screen 2', Colors.redAccent),
        Screen('Screen 3', Colors.greenAccent),
      ],
    ),
  ),
);

Instagram Story Swipe and snapchat dismiss combined

Navigator.push(
  context,
  PageRouteBuilder(
    pageBuilder: (_, __, ___) => SnapchatDismiss(
      child: InstagramStorySwipe(
        initialPage: 1,
        children: <Widget>[
          Screen('Screen 1', Colors.lightBlueAccent),
          Screen('Screen 2', Colors.redAccent),
          Screen('Screen 3', Colors.greenAccent),
        ],
      ),
    ),
  ),
);

Categories

Source repository

Projects using this package

No data available yet.