widget_drag_and_drop_layer

Creator: coderz1093

Last updated:

0 purchases

widget_drag_and_drop_layer Image
widget_drag_and_drop_layer Images
Add to Cart

Description:

widget drag and drop layer

Widget Drag And Drop Layer

Allow show y/o hidden a widget floating over the screen also expand this widget in fullscreen.
Get Starting

drag_and_drop_pluging: ^0.0.5

copied to clipboard

Example

Example code

WidgetDragAndDropLayer(
props: WidgetDragAndDropLayerProps(
floatingWidget: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(isFullScreen ? 0 : 16),
color: Colors.red.shade200,
),
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
children: [
ElevatedButton(
onPressed: () {
setState(() {
isFullScreen = !isFullScreen;
});
},
child: const Text("Button Uno"),
),
],
),
),
),
content: Container(),
floatingFullScreen: isFullScreen,
floatingVisible: isVisibleButton,
),
)

copied to clipboard
Properties

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.