sliding_panel_kit 0.1.0 copy "sliding_panel_kit: ^0.1.0" to clipboard
sliding_panel_kit: ^0.1.0 copied to clipboard

A simple and lightweight solution for building sliding-up panel for Flutter with smooth drag gestures, snap-points, and built-in scroll coordination for scrollable content.

example/lib/main.dart

import 'package:example/app/router.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    final colorScheme = ColorScheme.fromSeed(
      seedColor: Colors.lightBlue,
      dynamicSchemeVariant: DynamicSchemeVariant.fidelity,
      contrastLevel: -0.1,
    );
    return MaterialApp.router(
      routerConfig: AppRouter().router,
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: colorScheme,
        appBarTheme: AppBarTheme(
          backgroundColor: colorScheme.primary,
          foregroundColor: colorScheme.onPrimary,
          elevation: 2.5,
        ),
      ),
    );
  }
}
7
likes
0
points
484
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and lightweight solution for building sliding-up panel for Flutter with smooth drag gestures, snap-points, and built-in scroll coordination for scrollable content.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sliding_panel_kit