cosee/interactive_bottom_sheet
Flutter पैकेज। एक कस्टमाइज़ेबल इंटरैक्टिव बॉटम शीट, जो आपको इसके पीछे के स्क्रीन के साथ इंटरैक्ट करने की अनुमति देता है।
- Stars
- 2
- Forks
- 1
- अंतिम पुश (UTC)
- 17 अग॰ 2026
- प्रोजेक्ट स्थिति
- सक्रिय
भाषाएँC++CMakeDartRubyCSwiftHTMLShellKotlinObjective-C
तकनीकी विषय
उपयोग की गई निर्भरताएँ
निर्भरता सूची 4 आइटम
- flutter
{"sdk":"flutter"} - flutter_testडेवलपमेंट
{"sdk":"flutter"} - cosee_lintsडेवलपमेंट
^0.13.0 - dart_code_linterडेवलपमेंट
^4.0.0
मूल README
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
README खोलें / बंद करें
Interactive Bottom Sheet
pub package package publisher style license
A customizable interactive bottom sheet, which lets you interact with the screen behind it.
Preview example
Features
- Easy to use
- Customizable colors
- Customizable DraggableArea
- Customizable heights and widths of different parts of the sheet
- Possibility to declare snap points
Usage
Depend on it:
dependencies:
interactive_bottom_sheet: ^1.0.0
Import it:
import 'package:interactive_bottom_sheet/interactive_bottom_sheet.dart';
Example
Scaffold(
bottomSheet: const InteractiveBottomSheet(
options: InteractiveBottomSheetOptions(),
child: Text(
'Lorem ipsum dolor sit amet.'
),
),
);
Customization options
Scaffold(
bottomSheet: const Scaffold(
bottomSheet: InteractiveBottomSheet(
options: InteractiveBottomSheetOptions(
maxSize: 0.75,
backgroundColor: Colors.green,
snapList: [0.25, 0.5],
),
draggableAreaOptions: DraggableAreaOptions(
topBorderRadius: 10,
height: 75,
backgroundColor: Colors.grey,
indicatorColor: Colors.grey,
indicatorWidth: 50,
indicatorHeight: 50,
indicatorRadius: 10,
),
),
child: Text('Lorem ipsum dolor sit amet.'),
),
);
Top Border Radius
To get rounded Borders at the top of the sheet (usual for iOS) on the top side of the widget, it is necessary to overwrite the bottomSheetTheme.
Theme(
data: Theme.of(context).copyWith(
bottomSheetTheme: const BottomSheetThemeData(
backgroundColor: Colors.transparent
),
),
child: const Scaffold(
bottomSheet: InteractiveBottomSheet(
child: Text('Lorem ipsum dolor sit amet.'),
),
),
);