SmartechPxWidget constructor

SmartechPxWidget({
  1. Key? key,
  2. required Widget child,
})

Implementation

SmartechPxWidget({Key? key, required this.child}) : super(key: key) {
  // Just to make sure NetcorePX is initialized
  try {
    var _ = NetcorePX.instance;
  }catch (e){
    Logger.i("Flutter Px SDK not initialized");
  }
}