setInspectable method

  1. @override
void setInspectable(
  1. bool inspectable
)
override

Works only for iOS & MacOS.

Implementation

@override
void setInspectable(bool inspectable) {
  if (Platform.isIOS || Platform.isMacOS) {
    try {
      context.setInspectable(inspectable);
    } on Error {
      print('Could not set inspectable to $inspectable');
    }
  }
}