setSize method

Future<bool> setSize(
  1. double width,
  2. double height
)

Sets the size of the floating panel.

width and height are required parameters in points. Returns true if the size was set successfully.

Implementation

Future<bool> setSize(double width, double height) {
  return FloatingPanelPlatform.instance.setSize(width, height);
}