JhDebug class
Methods
-
clearAllLog()
→ void
-
清空所有类型日志
-
clearDebugLog()
→ void
-
清空调试debug所有日志
-
clearPrintLog()
→ void
-
清空print所有日志
-
hideLog()
→ void
-
隐藏jhDebug弹层窗口
-
init({required BuildContext context, bool hideCustomTab = true, List<CustomTabItem>? customTabs, bool hideBottom = false, Widget? customBottomWidge, VoidCallback? btnTap1, VoidCallback? btnTap2, VoidCallback? btnTap3, String? btnTitle1, String? btnTitle2, String? btnTitle3, int printRecord = JhConstants.PRINT_RECORD, int debugRecord = JhConstants.DEBUG_RECORD, int tabsInitIndex = JhConstants.TABS_INIT_INDEX, bool debugModeFull = JhConstants.DEBUG_MODEFULL, bool scrollFlag = JhConstants.SCROLL_FLAG, bool recordEnabled = JhConstants.RECORD_ENABLED})
→ void
-
初始化组件参数
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeDebugBtn()
→ void
-
隐藏全局调试按钮
-
setDebugLog({required String debugLog, required String debugStack})
→ void
-
设置debug日志内容, 输出flutter错误日志,构建错误等
-
setPrintLog(String text)
→ void
-
设置print栏日志内容
-
setRecordEnabled(bool isEnabled)
→ void
-
设置是否开启记录log模式
-
showDebugBtn({double? top, double? bottom, double? left, double? rigth, double? width, double? height})
→ void
-
显示全局调试按钮,双击隐藏按钮
-
showLog()
→ void
-
显示JhDebug弹层窗口
-
toString()
→ String
-
A string representation of this object.
inherited