setFloatingButtonEdge static method

Future<void> setFloatingButtonEdge(
  1. FloatingButtonEdge floatingButtonEdge,
  2. int offsetFromTop
)

Sets the floating button position. floatingButtonEdge FloatingButtonEdge enum - left or right edge of the screen. offsetFromTop integer offset for the position on the y-axis.

Implementation

static Future<void> setFloatingButtonEdge(
  FloatingButtonEdge floatingButtonEdge,
  int offsetFromTop,
) async {
  return _host.setFloatingButtonEdge(
    floatingButtonEdge.toString(),
    offsetFromTop,
  );
}