ios – Loading a UIKit storyboard into Flutter with UiKitView has unresponsive buttons

I’m following Flutters documentation nearly precisely that they put collectively right here.
The distinction is I’m attempting to load in a storyboard with a view controller (I do know subsequent to nothing about native IOS Improvement). I can be creating a reasonably primary display screen that faucets into some native options and wish to use a storyboard to create the UI.
You possibly can see the storyboard right here with the view controller and button. Once I run this in flutter I get the “view loaded: optionally available button stuff” print to console so I do know that the button shouldn’t be null. Nevertheless tapping the button doesn’t name the buttonPressed methodology. I held management and drug it into my controller and am fairly certain it’s related accurately. The view additionally has enabled consumer interactions. I’m misplaced on what I could also be doing unsuitable to permit the interplay right here.
init(
body: CGRect,
viewIdentifier viewId: Int64,
arguments args: Any?,
binaryMessenger messenger: FlutterBinaryMessenger?
) {
_view = UIView()
tremendous.init()
let storyboard = UIStoryboard.init(title: "playground", bundle: Bundle.init(for: PlaygroundViewController.self))
let controller = storyboard.instantiateViewController(withIdentifier: "playground") as! PlaygroundViewController
_view = controller.view
}
Credit: www.ismmailgsm.com