show method

Future<bool> show({
  1. double? width,
  2. double? height,
  3. double? x,
  4. double? y,
})

Shows the floating panel.

Optionally provide width and height to set the panel size. Optionally provide x and y to set the panel position. Returns true if the panel was shown successfully.

Implementation

Future<bool> show({
  double? width,
  double? height,
  double? x,
  double? y,
}) {
  return FloatingPanelPlatform.instance.show(
    width: width,
    height: height,
    x: x,
    y: y,
  );
}