flutter_flip_devices

Last updated:

0 purchases

flutter_flip_devices Image
flutter_flip_devices Images
Add to Cart

Description:

flutter flip devices

Helper for "Flip" devices #

A plugin to easily develop Flutter applications for Flip devices like Samsung Galaxy Z Flip or Samsung Galaxy Z Flip 3.
It will notify when the device is either fully-opened, semi-opened and closed. On non-"flip" devices, it will always considered the screen as fully-opened.
FlutterFlipListener #
A Flutter Widget to be notified when the hinge state changed.
FlutterFlipListener(
onDeviceClosed: () {},
onDeviceSemiOpened: () {},
onDeviceFullyOpened: () {},
child: YourWidget(),
);
copied to clipboard
FlutterFlipBuilder #
A Flutter Widget to provide a Widget dependeing on the hinge state.
FlutterFlipBuilder(
onDeviceClosed: (BuildContext context) {
return Text('Closed');
},
onDeviceSemiOpened: (BuildContext context) {
return Text('Semi-opened');
},
onDeviceFullyOpened: (BuildContext context) {
return Text('Fully opened');
},
);
copied to clipboard

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.