[{"data":1,"prerenderedAt":1855},["ShallowReactive",2],{"content-query-laZ0h9s25J":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":1849,"_id":1850,"_source":1851,"_file":1852,"_stem":1853,"_extension":1854},"\u002Fdocs\u002Fflutter-sdk","docs",false,"","Flutter SDK 接入指南","在 Flutter 应用中集成 xxinstall_flutter 归因 SDK，支持 iOS 和 Android。",{"type":11,"children":12,"toc":1830},"root",[13,21,34,43,48,55,60,142,155,188,194,239,244,269,274,401,406,961,967,977,990,1003,1013,1018,1032,1042,1055,1090,1333,1343,1348,1386,1396,1408,1422,1432,1437,1505,1757,1762,1824],{"type":14,"tag":15,"props":16,"children":18},"element","h2",{"id":17},"概述",[19],{"type":20,"value":17},"text",{"type":14,"tag":22,"props":23,"children":24},"p",{},[25,32],{"type":14,"tag":26,"props":27,"children":29},"code",{"className":28},[],[30],{"type":20,"value":31},"xxinstall_flutter",{"type":20,"value":33}," 是 XXinstall 的 Flutter 归因 SDK，通过 Platform Plugin 桥接原生编译代码（AAR + XCFramework），核心逻辑在原生层运行。",{"type":14,"tag":35,"props":36,"children":37},"blockquote",{},[38],{"type":14,"tag":22,"props":39,"children":40},{},[41],{"type":20,"value":42},"SDK 核心逻辑（签名算法、指纹采集、HTTP 请求）以编译后的二进制分发（Android AAR + iOS XCFramework），Dart 层仅为薄壳调用。",{"type":14,"tag":15,"props":44,"children":46},{"id":45},"安装",[47],{"type":20,"value":45},{"type":14,"tag":49,"props":50,"children":52},"h3",{"id":51},"方式一下载托管包推荐",[53],{"type":20,"value":54},"方式一：下载托管包（推荐）",{"type":14,"tag":22,"props":56,"children":57},{},[58],{"type":20,"value":59},"下载 SDK 包并放到项目中：",{"type":14,"tag":61,"props":62,"children":66},"pre",{"className":63,"code":64,"language":65,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark","# 下载\ncurl -O https:\u002F\u002Fwww.xxinstall.org\u002Fsdk\u002Fxxinstall_flutter-1.0.0.tar.gz\n\n# 解压到项目同级目录（或 packages\u002F 等任意位置）\ntar xzf xxinstall_flutter-1.0.0.tar.gz\n","bash",[67],{"type":14,"tag":26,"props":68,"children":69},{"__ignoreMap":7},[70,82,104,114,123],{"type":14,"tag":71,"props":72,"children":75},"span",{"class":73,"line":74},"line",1,[76],{"type":14,"tag":71,"props":77,"children":79},{"style":78},"--shiki-default:#6A737D",[80],{"type":20,"value":81},"# 下载\n",{"type":14,"tag":71,"props":83,"children":85},{"class":73,"line":84},2,[86,92,98],{"type":14,"tag":71,"props":87,"children":89},{"style":88},"--shiki-default:#B392F0",[90],{"type":20,"value":91},"curl",{"type":14,"tag":71,"props":93,"children":95},{"style":94},"--shiki-default:#79B8FF",[96],{"type":20,"value":97}," -O",{"type":14,"tag":71,"props":99,"children":101},{"style":100},"--shiki-default:#9ECBFF",[102],{"type":20,"value":103}," https:\u002F\u002Fwww.xxinstall.org\u002Fsdk\u002Fxxinstall_flutter-1.0.0.tar.gz\n",{"type":14,"tag":71,"props":105,"children":107},{"class":73,"line":106},3,[108],{"type":14,"tag":71,"props":109,"children":111},{"emptyLinePlaceholder":110},true,[112],{"type":20,"value":113},"\n",{"type":14,"tag":71,"props":115,"children":117},{"class":73,"line":116},4,[118],{"type":14,"tag":71,"props":119,"children":120},{"style":78},[121],{"type":20,"value":122},"# 解压到项目同级目录（或 packages\u002F 等任意位置）\n",{"type":14,"tag":71,"props":124,"children":126},{"class":73,"line":125},5,[127,132,137],{"type":14,"tag":71,"props":128,"children":129},{"style":88},[130],{"type":20,"value":131},"tar",{"type":14,"tag":71,"props":133,"children":134},{"style":100},[135],{"type":20,"value":136}," xzf",{"type":14,"tag":71,"props":138,"children":139},{"style":100},[140],{"type":20,"value":141}," xxinstall_flutter-1.0.0.tar.gz\n",{"type":14,"tag":22,"props":143,"children":144},{},[145,147,153],{"type":20,"value":146},"在 ",{"type":14,"tag":26,"props":148,"children":150},{"className":149},[],[151],{"type":20,"value":152},"pubspec.yaml",{"type":20,"value":154}," 中引用本地路径：",{"type":14,"tag":61,"props":156,"children":160},{"className":157,"code":158,"language":159,"meta":7,"style":7},"language-yaml shiki shiki-themes github-dark","dependencies:\n  xxinstall_flutter:\n    path: ..\u002Fxxinstall_flutter  # 根据实际路径调整\n","yaml",[161],{"type":14,"tag":26,"props":162,"children":163},{"__ignoreMap":7},[164,172,180],{"type":14,"tag":71,"props":165,"children":166},{"class":73,"line":74},[167],{"type":14,"tag":71,"props":168,"children":169},{},[170],{"type":20,"value":171},"dependencies:\n",{"type":14,"tag":71,"props":173,"children":174},{"class":73,"line":84},[175],{"type":14,"tag":71,"props":176,"children":177},{},[178],{"type":20,"value":179},"  xxinstall_flutter:\n",{"type":14,"tag":71,"props":181,"children":182},{"class":73,"line":106},[183],{"type":14,"tag":71,"props":184,"children":185},{},[186],{"type":20,"value":187},"    path: ..\u002Fxxinstall_flutter  # 根据实际路径调整\n",{"type":14,"tag":49,"props":189,"children":191},{"id":190},"方式二git-引用",[192],{"type":20,"value":193},"方式二：Git 引用",{"type":14,"tag":61,"props":195,"children":197},{"className":157,"code":196,"language":159,"meta":7,"style":7},"dependencies:\n  xxinstall_flutter:\n    git:\n      url: https:\u002F\u002Fgithub.com\u002Fyour-org\u002Fweiwei-guiyin.git\n      path: packages\u002Fxxinstall_flutter\n",[198],{"type":14,"tag":26,"props":199,"children":200},{"__ignoreMap":7},[201,208,215,223,231],{"type":14,"tag":71,"props":202,"children":203},{"class":73,"line":74},[204],{"type":14,"tag":71,"props":205,"children":206},{},[207],{"type":20,"value":171},{"type":14,"tag":71,"props":209,"children":210},{"class":73,"line":84},[211],{"type":14,"tag":71,"props":212,"children":213},{},[214],{"type":20,"value":179},{"type":14,"tag":71,"props":216,"children":217},{"class":73,"line":106},[218],{"type":14,"tag":71,"props":219,"children":220},{},[221],{"type":20,"value":222},"    git:\n",{"type":14,"tag":71,"props":224,"children":225},{"class":73,"line":116},[226],{"type":14,"tag":71,"props":227,"children":228},{},[229],{"type":20,"value":230},"      url: https:\u002F\u002Fgithub.com\u002Fyour-org\u002Fweiwei-guiyin.git\n",{"type":14,"tag":71,"props":232,"children":233},{"class":73,"line":125},[234],{"type":14,"tag":71,"props":235,"children":236},{},[237],{"type":20,"value":238},"      path: packages\u002Fxxinstall_flutter\n",{"type":14,"tag":22,"props":240,"children":241},{},[242],{"type":20,"value":243},"安装依赖：",{"type":14,"tag":61,"props":245,"children":247},{"className":63,"code":246,"language":65,"meta":7,"style":7},"flutter pub get\n",[248],{"type":14,"tag":26,"props":249,"children":250},{"__ignoreMap":7},[251],{"type":14,"tag":71,"props":252,"children":253},{"class":73,"line":74},[254,259,264],{"type":14,"tag":71,"props":255,"children":256},{"style":88},[257],{"type":20,"value":258},"flutter",{"type":14,"tag":71,"props":260,"children":261},{"style":100},[262],{"type":20,"value":263}," pub",{"type":14,"tag":71,"props":265,"children":266},{"style":100},[267],{"type":20,"value":268}," get\n",{"type":14,"tag":15,"props":270,"children":272},{"id":271},"快速开始",[273],{"type":20,"value":271},{"type":14,"tag":61,"props":275,"children":279},{"className":276,"code":277,"language":278,"meta":7,"style":7},"language-dart shiki shiki-themes github-dark","import 'package:xxinstall_flutter\u002Fxxinstall_flutter.dart';\n\n\u002F\u002F 1. 设置 API 地址（全局，只需调用一次）\nawait XXinstall.setHost('https:\u002F\u002Fyour-api-domain.com');\n\n\u002F\u002F 2. 初始化并获取归因结果\nfinal result = await XXinstall.init(\n  appKey: 'YOUR_APP_KEY',\n  appSecret: 'YOUR_APP_SECRET',\n);\n\nprint('归因结果: ${result.matchType}');\nprint('邀请码: ${result.inviteCode}');\nprint('渠道: ${result.channel}');\n","dart",[280],{"type":14,"tag":26,"props":281,"children":282},{"__ignoreMap":7},[283,291,298,306,314,321,330,339,348,357,366,374,383,392],{"type":14,"tag":71,"props":284,"children":285},{"class":73,"line":74},[286],{"type":14,"tag":71,"props":287,"children":288},{},[289],{"type":20,"value":290},"import 'package:xxinstall_flutter\u002Fxxinstall_flutter.dart';\n",{"type":14,"tag":71,"props":292,"children":293},{"class":73,"line":84},[294],{"type":14,"tag":71,"props":295,"children":296},{"emptyLinePlaceholder":110},[297],{"type":20,"value":113},{"type":14,"tag":71,"props":299,"children":300},{"class":73,"line":106},[301],{"type":14,"tag":71,"props":302,"children":303},{},[304],{"type":20,"value":305},"\u002F\u002F 1. 设置 API 地址（全局，只需调用一次）\n",{"type":14,"tag":71,"props":307,"children":308},{"class":73,"line":116},[309],{"type":14,"tag":71,"props":310,"children":311},{},[312],{"type":20,"value":313},"await XXinstall.setHost('https:\u002F\u002Fyour-api-domain.com');\n",{"type":14,"tag":71,"props":315,"children":316},{"class":73,"line":125},[317],{"type":14,"tag":71,"props":318,"children":319},{"emptyLinePlaceholder":110},[320],{"type":20,"value":113},{"type":14,"tag":71,"props":322,"children":324},{"class":73,"line":323},6,[325],{"type":14,"tag":71,"props":326,"children":327},{},[328],{"type":20,"value":329},"\u002F\u002F 2. 初始化并获取归因结果\n",{"type":14,"tag":71,"props":331,"children":333},{"class":73,"line":332},7,[334],{"type":14,"tag":71,"props":335,"children":336},{},[337],{"type":20,"value":338},"final result = await XXinstall.init(\n",{"type":14,"tag":71,"props":340,"children":342},{"class":73,"line":341},8,[343],{"type":14,"tag":71,"props":344,"children":345},{},[346],{"type":20,"value":347},"  appKey: 'YOUR_APP_KEY',\n",{"type":14,"tag":71,"props":349,"children":351},{"class":73,"line":350},9,[352],{"type":14,"tag":71,"props":353,"children":354},{},[355],{"type":20,"value":356},"  appSecret: 'YOUR_APP_SECRET',\n",{"type":14,"tag":71,"props":358,"children":360},{"class":73,"line":359},10,[361],{"type":14,"tag":71,"props":362,"children":363},{},[364],{"type":20,"value":365},");\n",{"type":14,"tag":71,"props":367,"children":369},{"class":73,"line":368},11,[370],{"type":14,"tag":71,"props":371,"children":372},{"emptyLinePlaceholder":110},[373],{"type":20,"value":113},{"type":14,"tag":71,"props":375,"children":377},{"class":73,"line":376},12,[378],{"type":14,"tag":71,"props":379,"children":380},{},[381],{"type":20,"value":382},"print('归因结果: ${result.matchType}');\n",{"type":14,"tag":71,"props":384,"children":386},{"class":73,"line":385},13,[387],{"type":14,"tag":71,"props":388,"children":389},{},[390],{"type":20,"value":391},"print('邀请码: ${result.inviteCode}');\n",{"type":14,"tag":71,"props":393,"children":395},{"class":73,"line":394},14,[396],{"type":14,"tag":71,"props":397,"children":398},{},[399],{"type":20,"value":400},"print('渠道: ${result.channel}');\n",{"type":14,"tag":49,"props":402,"children":404},{"id":403},"完整示例",[405],{"type":20,"value":403},{"type":14,"tag":61,"props":407,"children":409},{"className":276,"code":408,"language":278,"meta":7,"style":7},"import 'package:flutter\u002Fmaterial.dart';\nimport 'package:xxinstall_flutter\u002Fxxinstall_flutter.dart';\n\nvoid main() async {\n  WidgetsFlutterBinding.ensureInitialized();\n  await XXinstall.setHost('https:\u002F\u002Fyour-api-domain.com');\n  runApp(const MyApp());\n}\n\nclass MyApp extends StatefulWidget {\n  const MyApp({super.key});\n\n  @override\n  State\u003CMyApp> createState() => _MyAppState();\n}\n\nclass _MyAppState extends State\u003CMyApp> {\n  AttributionResult? _result;\n  String _status = '初始化中...';\n\n  @override\n  void initState() {\n    super.initState();\n    _initAttribution();\n  }\n\n  Future\u003Cvoid> _initAttribution() async {\n    try {\n      final result = await XXinstall.init(\n        appKey: 'YOUR_APP_KEY',\n        appSecret: 'YOUR_APP_SECRET',\n        debug: true,\n      );\n      setState(() {\n        _result = result;\n        _status = '归因完成: ${result.matchType}';\n      });\n    } catch (e) {\n      setState(() => _status = '归因失败: $e');\n    }\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Scaffold(\n        appBar: AppBar(title: const Text('XXinstall Demo')),\n        body: Center(\n          child: Column(\n            mainAxisAlignment: MainAxisAlignment.center,\n            children: [\n              Text(_status),\n              if (_result != null) ...[\n                Text('邀请码: ${_result!.inviteCode ?? \"无\"}'),\n                Text('渠道: ${_result!.channel}'),\n                Text('置信度: ${_result!.confidence}'),\n              ],\n            ],\n          ),\n        ),\n      ),\n    );\n  }\n}\n",[410],{"type":14,"tag":26,"props":411,"children":412},{"__ignoreMap":7},[413,421,428,435,443,451,459,467,475,482,490,498,505,513,521,529,537,546,555,564,572,580,589,598,607,616,624,633,642,651,660,669,678,687,696,705,714,723,732,741,750,758,766,774,783,792,801,810,819,828,837,846,855,864,873,882,891,900,909,918,927,936,945,953],{"type":14,"tag":71,"props":414,"children":415},{"class":73,"line":74},[416],{"type":14,"tag":71,"props":417,"children":418},{},[419],{"type":20,"value":420},"import 'package:flutter\u002Fmaterial.dart';\n",{"type":14,"tag":71,"props":422,"children":423},{"class":73,"line":84},[424],{"type":14,"tag":71,"props":425,"children":426},{},[427],{"type":20,"value":290},{"type":14,"tag":71,"props":429,"children":430},{"class":73,"line":106},[431],{"type":14,"tag":71,"props":432,"children":433},{"emptyLinePlaceholder":110},[434],{"type":20,"value":113},{"type":14,"tag":71,"props":436,"children":437},{"class":73,"line":116},[438],{"type":14,"tag":71,"props":439,"children":440},{},[441],{"type":20,"value":442},"void main() async {\n",{"type":14,"tag":71,"props":444,"children":445},{"class":73,"line":125},[446],{"type":14,"tag":71,"props":447,"children":448},{},[449],{"type":20,"value":450},"  WidgetsFlutterBinding.ensureInitialized();\n",{"type":14,"tag":71,"props":452,"children":453},{"class":73,"line":323},[454],{"type":14,"tag":71,"props":455,"children":456},{},[457],{"type":20,"value":458},"  await XXinstall.setHost('https:\u002F\u002Fyour-api-domain.com');\n",{"type":14,"tag":71,"props":460,"children":461},{"class":73,"line":332},[462],{"type":14,"tag":71,"props":463,"children":464},{},[465],{"type":20,"value":466},"  runApp(const MyApp());\n",{"type":14,"tag":71,"props":468,"children":469},{"class":73,"line":341},[470],{"type":14,"tag":71,"props":471,"children":472},{},[473],{"type":20,"value":474},"}\n",{"type":14,"tag":71,"props":476,"children":477},{"class":73,"line":350},[478],{"type":14,"tag":71,"props":479,"children":480},{"emptyLinePlaceholder":110},[481],{"type":20,"value":113},{"type":14,"tag":71,"props":483,"children":484},{"class":73,"line":359},[485],{"type":14,"tag":71,"props":486,"children":487},{},[488],{"type":20,"value":489},"class MyApp extends StatefulWidget {\n",{"type":14,"tag":71,"props":491,"children":492},{"class":73,"line":368},[493],{"type":14,"tag":71,"props":494,"children":495},{},[496],{"type":20,"value":497},"  const MyApp({super.key});\n",{"type":14,"tag":71,"props":499,"children":500},{"class":73,"line":376},[501],{"type":14,"tag":71,"props":502,"children":503},{"emptyLinePlaceholder":110},[504],{"type":20,"value":113},{"type":14,"tag":71,"props":506,"children":507},{"class":73,"line":385},[508],{"type":14,"tag":71,"props":509,"children":510},{},[511],{"type":20,"value":512},"  @override\n",{"type":14,"tag":71,"props":514,"children":515},{"class":73,"line":394},[516],{"type":14,"tag":71,"props":517,"children":518},{},[519],{"type":20,"value":520},"  State\u003CMyApp> createState() => _MyAppState();\n",{"type":14,"tag":71,"props":522,"children":524},{"class":73,"line":523},15,[525],{"type":14,"tag":71,"props":526,"children":527},{},[528],{"type":20,"value":474},{"type":14,"tag":71,"props":530,"children":532},{"class":73,"line":531},16,[533],{"type":14,"tag":71,"props":534,"children":535},{"emptyLinePlaceholder":110},[536],{"type":20,"value":113},{"type":14,"tag":71,"props":538,"children":540},{"class":73,"line":539},17,[541],{"type":14,"tag":71,"props":542,"children":543},{},[544],{"type":20,"value":545},"class _MyAppState extends State\u003CMyApp> {\n",{"type":14,"tag":71,"props":547,"children":549},{"class":73,"line":548},18,[550],{"type":14,"tag":71,"props":551,"children":552},{},[553],{"type":20,"value":554},"  AttributionResult? _result;\n",{"type":14,"tag":71,"props":556,"children":558},{"class":73,"line":557},19,[559],{"type":14,"tag":71,"props":560,"children":561},{},[562],{"type":20,"value":563},"  String _status = '初始化中...';\n",{"type":14,"tag":71,"props":565,"children":567},{"class":73,"line":566},20,[568],{"type":14,"tag":71,"props":569,"children":570},{"emptyLinePlaceholder":110},[571],{"type":20,"value":113},{"type":14,"tag":71,"props":573,"children":575},{"class":73,"line":574},21,[576],{"type":14,"tag":71,"props":577,"children":578},{},[579],{"type":20,"value":512},{"type":14,"tag":71,"props":581,"children":583},{"class":73,"line":582},22,[584],{"type":14,"tag":71,"props":585,"children":586},{},[587],{"type":20,"value":588},"  void initState() {\n",{"type":14,"tag":71,"props":590,"children":592},{"class":73,"line":591},23,[593],{"type":14,"tag":71,"props":594,"children":595},{},[596],{"type":20,"value":597},"    super.initState();\n",{"type":14,"tag":71,"props":599,"children":601},{"class":73,"line":600},24,[602],{"type":14,"tag":71,"props":603,"children":604},{},[605],{"type":20,"value":606},"    _initAttribution();\n",{"type":14,"tag":71,"props":608,"children":610},{"class":73,"line":609},25,[611],{"type":14,"tag":71,"props":612,"children":613},{},[614],{"type":20,"value":615},"  }\n",{"type":14,"tag":71,"props":617,"children":619},{"class":73,"line":618},26,[620],{"type":14,"tag":71,"props":621,"children":622},{"emptyLinePlaceholder":110},[623],{"type":20,"value":113},{"type":14,"tag":71,"props":625,"children":627},{"class":73,"line":626},27,[628],{"type":14,"tag":71,"props":629,"children":630},{},[631],{"type":20,"value":632},"  Future\u003Cvoid> _initAttribution() async {\n",{"type":14,"tag":71,"props":634,"children":636},{"class":73,"line":635},28,[637],{"type":14,"tag":71,"props":638,"children":639},{},[640],{"type":20,"value":641},"    try {\n",{"type":14,"tag":71,"props":643,"children":645},{"class":73,"line":644},29,[646],{"type":14,"tag":71,"props":647,"children":648},{},[649],{"type":20,"value":650},"      final result = await XXinstall.init(\n",{"type":14,"tag":71,"props":652,"children":654},{"class":73,"line":653},30,[655],{"type":14,"tag":71,"props":656,"children":657},{},[658],{"type":20,"value":659},"        appKey: 'YOUR_APP_KEY',\n",{"type":14,"tag":71,"props":661,"children":663},{"class":73,"line":662},31,[664],{"type":14,"tag":71,"props":665,"children":666},{},[667],{"type":20,"value":668},"        appSecret: 'YOUR_APP_SECRET',\n",{"type":14,"tag":71,"props":670,"children":672},{"class":73,"line":671},32,[673],{"type":14,"tag":71,"props":674,"children":675},{},[676],{"type":20,"value":677},"        debug: true,\n",{"type":14,"tag":71,"props":679,"children":681},{"class":73,"line":680},33,[682],{"type":14,"tag":71,"props":683,"children":684},{},[685],{"type":20,"value":686},"      );\n",{"type":14,"tag":71,"props":688,"children":690},{"class":73,"line":689},34,[691],{"type":14,"tag":71,"props":692,"children":693},{},[694],{"type":20,"value":695},"      setState(() {\n",{"type":14,"tag":71,"props":697,"children":699},{"class":73,"line":698},35,[700],{"type":14,"tag":71,"props":701,"children":702},{},[703],{"type":20,"value":704},"        _result = result;\n",{"type":14,"tag":71,"props":706,"children":708},{"class":73,"line":707},36,[709],{"type":14,"tag":71,"props":710,"children":711},{},[712],{"type":20,"value":713},"        _status = '归因完成: ${result.matchType}';\n",{"type":14,"tag":71,"props":715,"children":717},{"class":73,"line":716},37,[718],{"type":14,"tag":71,"props":719,"children":720},{},[721],{"type":20,"value":722},"      });\n",{"type":14,"tag":71,"props":724,"children":726},{"class":73,"line":725},38,[727],{"type":14,"tag":71,"props":728,"children":729},{},[730],{"type":20,"value":731},"    } catch (e) {\n",{"type":14,"tag":71,"props":733,"children":735},{"class":73,"line":734},39,[736],{"type":14,"tag":71,"props":737,"children":738},{},[739],{"type":20,"value":740},"      setState(() => _status = '归因失败: $e');\n",{"type":14,"tag":71,"props":742,"children":744},{"class":73,"line":743},40,[745],{"type":14,"tag":71,"props":746,"children":747},{},[748],{"type":20,"value":749},"    }\n",{"type":14,"tag":71,"props":751,"children":753},{"class":73,"line":752},41,[754],{"type":14,"tag":71,"props":755,"children":756},{},[757],{"type":20,"value":615},{"type":14,"tag":71,"props":759,"children":761},{"class":73,"line":760},42,[762],{"type":14,"tag":71,"props":763,"children":764},{"emptyLinePlaceholder":110},[765],{"type":20,"value":113},{"type":14,"tag":71,"props":767,"children":769},{"class":73,"line":768},43,[770],{"type":14,"tag":71,"props":771,"children":772},{},[773],{"type":20,"value":512},{"type":14,"tag":71,"props":775,"children":777},{"class":73,"line":776},44,[778],{"type":14,"tag":71,"props":779,"children":780},{},[781],{"type":20,"value":782},"  Widget build(BuildContext context) {\n",{"type":14,"tag":71,"props":784,"children":786},{"class":73,"line":785},45,[787],{"type":14,"tag":71,"props":788,"children":789},{},[790],{"type":20,"value":791},"    return MaterialApp(\n",{"type":14,"tag":71,"props":793,"children":795},{"class":73,"line":794},46,[796],{"type":14,"tag":71,"props":797,"children":798},{},[799],{"type":20,"value":800},"      home: Scaffold(\n",{"type":14,"tag":71,"props":802,"children":804},{"class":73,"line":803},47,[805],{"type":14,"tag":71,"props":806,"children":807},{},[808],{"type":20,"value":809},"        appBar: AppBar(title: const Text('XXinstall Demo')),\n",{"type":14,"tag":71,"props":811,"children":813},{"class":73,"line":812},48,[814],{"type":14,"tag":71,"props":815,"children":816},{},[817],{"type":20,"value":818},"        body: Center(\n",{"type":14,"tag":71,"props":820,"children":822},{"class":73,"line":821},49,[823],{"type":14,"tag":71,"props":824,"children":825},{},[826],{"type":20,"value":827},"          child: Column(\n",{"type":14,"tag":71,"props":829,"children":831},{"class":73,"line":830},50,[832],{"type":14,"tag":71,"props":833,"children":834},{},[835],{"type":20,"value":836},"            mainAxisAlignment: MainAxisAlignment.center,\n",{"type":14,"tag":71,"props":838,"children":840},{"class":73,"line":839},51,[841],{"type":14,"tag":71,"props":842,"children":843},{},[844],{"type":20,"value":845},"            children: [\n",{"type":14,"tag":71,"props":847,"children":849},{"class":73,"line":848},52,[850],{"type":14,"tag":71,"props":851,"children":852},{},[853],{"type":20,"value":854},"              Text(_status),\n",{"type":14,"tag":71,"props":856,"children":858},{"class":73,"line":857},53,[859],{"type":14,"tag":71,"props":860,"children":861},{},[862],{"type":20,"value":863},"              if (_result != null) ...[\n",{"type":14,"tag":71,"props":865,"children":867},{"class":73,"line":866},54,[868],{"type":14,"tag":71,"props":869,"children":870},{},[871],{"type":20,"value":872},"                Text('邀请码: ${_result!.inviteCode ?? \"无\"}'),\n",{"type":14,"tag":71,"props":874,"children":876},{"class":73,"line":875},55,[877],{"type":14,"tag":71,"props":878,"children":879},{},[880],{"type":20,"value":881},"                Text('渠道: ${_result!.channel}'),\n",{"type":14,"tag":71,"props":883,"children":885},{"class":73,"line":884},56,[886],{"type":14,"tag":71,"props":887,"children":888},{},[889],{"type":20,"value":890},"                Text('置信度: ${_result!.confidence}'),\n",{"type":14,"tag":71,"props":892,"children":894},{"class":73,"line":893},57,[895],{"type":14,"tag":71,"props":896,"children":897},{},[898],{"type":20,"value":899},"              ],\n",{"type":14,"tag":71,"props":901,"children":903},{"class":73,"line":902},58,[904],{"type":14,"tag":71,"props":905,"children":906},{},[907],{"type":20,"value":908},"            ],\n",{"type":14,"tag":71,"props":910,"children":912},{"class":73,"line":911},59,[913],{"type":14,"tag":71,"props":914,"children":915},{},[916],{"type":20,"value":917},"          ),\n",{"type":14,"tag":71,"props":919,"children":921},{"class":73,"line":920},60,[922],{"type":14,"tag":71,"props":923,"children":924},{},[925],{"type":20,"value":926},"        ),\n",{"type":14,"tag":71,"props":928,"children":930},{"class":73,"line":929},61,[931],{"type":14,"tag":71,"props":932,"children":933},{},[934],{"type":20,"value":935},"      ),\n",{"type":14,"tag":71,"props":937,"children":939},{"class":73,"line":938},62,[940],{"type":14,"tag":71,"props":941,"children":942},{},[943],{"type":20,"value":944},"    );\n",{"type":14,"tag":71,"props":946,"children":948},{"class":73,"line":947},63,[949],{"type":14,"tag":71,"props":950,"children":951},{},[952],{"type":20,"value":615},{"type":14,"tag":71,"props":954,"children":956},{"class":73,"line":955},64,[957],{"type":14,"tag":71,"props":958,"children":959},{},[960],{"type":20,"value":474},{"type":14,"tag":15,"props":962,"children":964},{"id":963},"api",[965],{"type":20,"value":966},"API",{"type":14,"tag":49,"props":968,"children":970},{"id":969},"xxinstallsethosturl",[971],{"type":14,"tag":26,"props":972,"children":974},{"className":973},[],[975],{"type":20,"value":976},"XXinstall.setHost(url)",{"type":14,"tag":22,"props":978,"children":979},{},[980,982,988],{"type":20,"value":981},"设置 API 服务器地址。必须在 ",{"type":14,"tag":26,"props":983,"children":985},{"className":984},[],[986],{"type":20,"value":987},"init()",{"type":20,"value":989}," 之前调用。",{"type":14,"tag":61,"props":991,"children":992},{"className":276,"code":313,"language":278,"meta":7,"style":7},[993],{"type":14,"tag":26,"props":994,"children":995},{"__ignoreMap":7},[996],{"type":14,"tag":71,"props":997,"children":998},{"class":73,"line":74},[999],{"type":14,"tag":71,"props":1000,"children":1001},{},[1002],{"type":20,"value":313},{"type":14,"tag":49,"props":1004,"children":1006},{"id":1005},"xxinstallsetdebugenabled",[1007],{"type":14,"tag":26,"props":1008,"children":1010},{"className":1009},[],[1011],{"type":20,"value":1012},"XXinstall.setDebug(enabled)",{"type":14,"tag":22,"props":1014,"children":1015},{},[1016],{"type":20,"value":1017},"开启或关闭调试日志输出。",{"type":14,"tag":61,"props":1019,"children":1021},{"className":276,"code":1020,"language":278,"meta":7,"style":7},"await XXinstall.setDebug(true);\n",[1022],{"type":14,"tag":26,"props":1023,"children":1024},{"__ignoreMap":7},[1025],{"type":14,"tag":71,"props":1026,"children":1027},{"class":73,"line":74},[1028],{"type":14,"tag":71,"props":1029,"children":1030},{},[1031],{"type":20,"value":1020},{"type":14,"tag":49,"props":1033,"children":1035},{"id":1034},"xxinstallinit",[1036],{"type":14,"tag":26,"props":1037,"children":1039},{"className":1038},[],[1040],{"type":20,"value":1041},"XXinstall.init(...)",{"type":14,"tag":22,"props":1043,"children":1044},{},[1045,1047,1053],{"type":20,"value":1046},"初始化 SDK 并执行归因匹配。返回 ",{"type":14,"tag":26,"props":1048,"children":1050},{"className":1049},[],[1051],{"type":20,"value":1052},"Future\u003CAttributionResult>",{"type":20,"value":1054},"。",{"type":14,"tag":61,"props":1056,"children":1058},{"className":276,"code":1057,"language":278,"meta":7,"style":7},"final result = await XXinstall.init(\n  appKey: 'YOUR_APP_KEY',\n  appSecret: 'YOUR_APP_SECRET',\n);\n",[1059],{"type":14,"tag":26,"props":1060,"children":1061},{"__ignoreMap":7},[1062,1069,1076,1083],{"type":14,"tag":71,"props":1063,"children":1064},{"class":73,"line":74},[1065],{"type":14,"tag":71,"props":1066,"children":1067},{},[1068],{"type":20,"value":338},{"type":14,"tag":71,"props":1070,"children":1071},{"class":73,"line":84},[1072],{"type":14,"tag":71,"props":1073,"children":1074},{},[1075],{"type":20,"value":347},{"type":14,"tag":71,"props":1077,"children":1078},{"class":73,"line":106},[1079],{"type":14,"tag":71,"props":1080,"children":1081},{},[1082],{"type":20,"value":356},{"type":14,"tag":71,"props":1084,"children":1085},{"class":73,"line":116},[1086],{"type":14,"tag":71,"props":1087,"children":1088},{},[1089],{"type":20,"value":365},{"type":14,"tag":1091,"props":1092,"children":1093},"table",{},[1094,1123],{"type":14,"tag":1095,"props":1096,"children":1097},"thead",{},[1098],{"type":14,"tag":1099,"props":1100,"children":1101},"tr",{},[1102,1108,1113,1118],{"type":14,"tag":1103,"props":1104,"children":1105},"th",{},[1106],{"type":20,"value":1107},"参数",{"type":14,"tag":1103,"props":1109,"children":1110},{},[1111],{"type":20,"value":1112},"类型",{"type":14,"tag":1103,"props":1114,"children":1115},{},[1116],{"type":20,"value":1117},"必填",{"type":14,"tag":1103,"props":1119,"children":1120},{},[1121],{"type":20,"value":1122},"说明",{"type":14,"tag":1124,"props":1125,"children":1126},"tbody",{},[1127,1155,1180,1207,1232,1258,1283,1308],{"type":14,"tag":1099,"props":1128,"children":1129},{},[1130,1140,1145,1150],{"type":14,"tag":1131,"props":1132,"children":1133},"td",{},[1134],{"type":14,"tag":26,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":20,"value":1139},"appKey",{"type":14,"tag":1131,"props":1141,"children":1142},{},[1143],{"type":20,"value":1144},"String",{"type":14,"tag":1131,"props":1146,"children":1147},{},[1148],{"type":20,"value":1149},"是",{"type":14,"tag":1131,"props":1151,"children":1152},{},[1153],{"type":20,"value":1154},"应用 Key，在管理后台创建",{"type":14,"tag":1099,"props":1156,"children":1157},{},[1158,1167,1171,1175],{"type":14,"tag":1131,"props":1159,"children":1160},{},[1161],{"type":14,"tag":26,"props":1162,"children":1164},{"className":1163},[],[1165],{"type":20,"value":1166},"appSecret",{"type":14,"tag":1131,"props":1168,"children":1169},{},[1170],{"type":20,"value":1144},{"type":14,"tag":1131,"props":1172,"children":1173},{},[1174],{"type":20,"value":1149},{"type":14,"tag":1131,"props":1176,"children":1177},{},[1178],{"type":20,"value":1179},"应用 Secret，用于签名",{"type":14,"tag":1099,"props":1181,"children":1182},{},[1183,1192,1197,1202],{"type":14,"tag":1131,"props":1184,"children":1185},{},[1186],{"type":14,"tag":26,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":20,"value":1191},"baseUrl",{"type":14,"tag":1131,"props":1193,"children":1194},{},[1195],{"type":20,"value":1196},"String?",{"type":14,"tag":1131,"props":1198,"children":1199},{},[1200],{"type":20,"value":1201},"否",{"type":14,"tag":1131,"props":1203,"children":1204},{},[1205],{"type":20,"value":1206},"API 地址（优先于 setHost）",{"type":14,"tag":1099,"props":1208,"children":1209},{},[1210,1219,1223,1227],{"type":14,"tag":1131,"props":1211,"children":1212},{},[1213],{"type":14,"tag":26,"props":1214,"children":1216},{"className":1215},[],[1217],{"type":20,"value":1218},"deviceId",{"type":14,"tag":1131,"props":1220,"children":1221},{},[1222],{"type":20,"value":1196},{"type":14,"tag":1131,"props":1224,"children":1225},{},[1226],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1228,"children":1229},{},[1230],{"type":20,"value":1231},"自定义设备 ID",{"type":14,"tag":1099,"props":1233,"children":1234},{},[1235,1244,1249,1253],{"type":14,"tag":1131,"props":1236,"children":1237},{},[1238],{"type":14,"tag":26,"props":1239,"children":1241},{"className":1240},[],[1242],{"type":20,"value":1243},"debug",{"type":14,"tag":1131,"props":1245,"children":1246},{},[1247],{"type":20,"value":1248},"bool",{"type":14,"tag":1131,"props":1250,"children":1251},{},[1252],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1254,"children":1255},{},[1256],{"type":20,"value":1257},"是否输出调试日志（默认 false）",{"type":14,"tag":1099,"props":1259,"children":1260},{},[1261,1270,1274,1278],{"type":14,"tag":1131,"props":1262,"children":1263},{},[1264],{"type":14,"tag":26,"props":1265,"children":1267},{"className":1266},[],[1268],{"type":20,"value":1269},"skipCache",{"type":14,"tag":1131,"props":1271,"children":1272},{},[1273],{"type":20,"value":1248},{"type":14,"tag":1131,"props":1275,"children":1276},{},[1277],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1279,"children":1280},{},[1281],{"type":20,"value":1282},"跳过缓存，强制重新归因（默认 false）",{"type":14,"tag":1099,"props":1284,"children":1285},{},[1286,1295,1299,1303],{"type":14,"tag":1131,"props":1287,"children":1288},{},[1289],{"type":14,"tag":26,"props":1290,"children":1292},{"className":1291},[],[1293],{"type":20,"value":1294},"skipClipboard",{"type":14,"tag":1131,"props":1296,"children":1297},{},[1298],{"type":20,"value":1248},{"type":14,"tag":1131,"props":1300,"children":1301},{},[1302],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1304,"children":1305},{},[1306],{"type":20,"value":1307},"跳过剪贴板读取（默认 false）",{"type":14,"tag":1099,"props":1309,"children":1310},{},[1311,1320,1324,1328],{"type":14,"tag":1131,"props":1312,"children":1313},{},[1314],{"type":14,"tag":26,"props":1315,"children":1317},{"className":1316},[],[1318],{"type":20,"value":1319},"skipWebView",{"type":14,"tag":1131,"props":1321,"children":1322},{},[1323],{"type":20,"value":1248},{"type":14,"tag":1131,"props":1325,"children":1326},{},[1327],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1329,"children":1330},{},[1331],{"type":20,"value":1332},"跳过内置 WebView 指纹采集（默认 false）",{"type":14,"tag":49,"props":1334,"children":1336},{"id":1335},"xxinstallgetattribution",[1337],{"type":14,"tag":26,"props":1338,"children":1340},{"className":1339},[],[1341],{"type":20,"value":1342},"XXinstall.getAttribution()",{"type":14,"tag":22,"props":1344,"children":1345},{},[1346],{"type":20,"value":1347},"获取缓存的归因结果（不发起网络请求）。",{"type":14,"tag":61,"props":1349,"children":1351},{"className":276,"code":1350,"language":278,"meta":7,"style":7},"final result = await XXinstall.getAttribution();\nif (result != null) {\n  print('缓存的归因结果: ${result.matchType}');\n}\n",[1352],{"type":14,"tag":26,"props":1353,"children":1354},{"__ignoreMap":7},[1355,1363,1371,1379],{"type":14,"tag":71,"props":1356,"children":1357},{"class":73,"line":74},[1358],{"type":14,"tag":71,"props":1359,"children":1360},{},[1361],{"type":20,"value":1362},"final result = await XXinstall.getAttribution();\n",{"type":14,"tag":71,"props":1364,"children":1365},{"class":73,"line":84},[1366],{"type":14,"tag":71,"props":1367,"children":1368},{},[1369],{"type":20,"value":1370},"if (result != null) {\n",{"type":14,"tag":71,"props":1372,"children":1373},{"class":73,"line":106},[1374],{"type":14,"tag":71,"props":1375,"children":1376},{},[1377],{"type":20,"value":1378},"  print('缓存的归因结果: ${result.matchType}');\n",{"type":14,"tag":71,"props":1380,"children":1381},{"class":73,"line":116},[1382],{"type":14,"tag":71,"props":1383,"children":1384},{},[1385],{"type":20,"value":474},{"type":14,"tag":49,"props":1387,"children":1389},{"id":1388},"xxinstallclearcache",[1390],{"type":14,"tag":26,"props":1391,"children":1393},{"className":1392},[],[1394],{"type":20,"value":1395},"XXinstall.clearCache()",{"type":14,"tag":22,"props":1397,"children":1398},{},[1399,1401,1406],{"type":20,"value":1400},"清除本地缓存的归因结果。下次调用 ",{"type":14,"tag":26,"props":1402,"children":1404},{"className":1403},[],[1405],{"type":20,"value":987},{"type":20,"value":1407}," 会重新发起归因请求。",{"type":14,"tag":61,"props":1409,"children":1411},{"className":276,"code":1410,"language":278,"meta":7,"style":7},"await XXinstall.clearCache();\n",[1412],{"type":14,"tag":26,"props":1413,"children":1414},{"__ignoreMap":7},[1415],{"type":14,"tag":71,"props":1416,"children":1417},{"class":73,"line":74},[1418],{"type":14,"tag":71,"props":1419,"children":1420},{},[1421],{"type":20,"value":1410},{"type":14,"tag":49,"props":1423,"children":1425},{"id":1424},"xxinstalltrackevent",[1426],{"type":14,"tag":26,"props":1427,"children":1429},{"className":1428},[],[1430],{"type":20,"value":1431},"XXinstall.trackEvent(...)",{"type":14,"tag":22,"props":1433,"children":1434},{},[1435],{"type":20,"value":1436},"上报自定义事件。",{"type":14,"tag":61,"props":1438,"children":1440},{"className":276,"code":1439,"language":278,"meta":7,"style":7},"await XXinstall.trackEvent(\n  appKey: 'YOUR_APP_KEY',\n  appSecret: 'YOUR_APP_SECRET',\n  eventName: 'register',\n  eventType: 4,           \u002F\u002F 4=注册, 6=付费, 7=自定义\n  userId: 'user_123',\n  channel: 'wechat',\n);\n",[1441],{"type":14,"tag":26,"props":1442,"children":1443},{"__ignoreMap":7},[1444,1452,1459,1466,1474,1482,1490,1498],{"type":14,"tag":71,"props":1445,"children":1446},{"class":73,"line":74},[1447],{"type":14,"tag":71,"props":1448,"children":1449},{},[1450],{"type":20,"value":1451},"await XXinstall.trackEvent(\n",{"type":14,"tag":71,"props":1453,"children":1454},{"class":73,"line":84},[1455],{"type":14,"tag":71,"props":1456,"children":1457},{},[1458],{"type":20,"value":347},{"type":14,"tag":71,"props":1460,"children":1461},{"class":73,"line":106},[1462],{"type":14,"tag":71,"props":1463,"children":1464},{},[1465],{"type":20,"value":356},{"type":14,"tag":71,"props":1467,"children":1468},{"class":73,"line":116},[1469],{"type":14,"tag":71,"props":1470,"children":1471},{},[1472],{"type":20,"value":1473},"  eventName: 'register',\n",{"type":14,"tag":71,"props":1475,"children":1476},{"class":73,"line":125},[1477],{"type":14,"tag":71,"props":1478,"children":1479},{},[1480],{"type":20,"value":1481},"  eventType: 4,           \u002F\u002F 4=注册, 6=付费, 7=自定义\n",{"type":14,"tag":71,"props":1483,"children":1484},{"class":73,"line":323},[1485],{"type":14,"tag":71,"props":1486,"children":1487},{},[1488],{"type":20,"value":1489},"  userId: 'user_123',\n",{"type":14,"tag":71,"props":1491,"children":1492},{"class":73,"line":332},[1493],{"type":14,"tag":71,"props":1494,"children":1495},{},[1496],{"type":20,"value":1497},"  channel: 'wechat',\n",{"type":14,"tag":71,"props":1499,"children":1500},{"class":73,"line":341},[1501],{"type":14,"tag":71,"props":1502,"children":1503},{},[1504],{"type":20,"value":365},{"type":14,"tag":1091,"props":1506,"children":1507},{},[1508,1530],{"type":14,"tag":1095,"props":1509,"children":1510},{},[1511],{"type":14,"tag":1099,"props":1512,"children":1513},{},[1514,1518,1522,1526],{"type":14,"tag":1103,"props":1515,"children":1516},{},[1517],{"type":20,"value":1107},{"type":14,"tag":1103,"props":1519,"children":1520},{},[1521],{"type":20,"value":1112},{"type":14,"tag":1103,"props":1523,"children":1524},{},[1525],{"type":20,"value":1117},{"type":14,"tag":1103,"props":1527,"children":1528},{},[1529],{"type":20,"value":1122},{"type":14,"tag":1124,"props":1531,"children":1532},{},[1533,1557,1581,1606,1632,1656,1681,1706,1731],{"type":14,"tag":1099,"props":1534,"children":1535},{},[1536,1544,1548,1552],{"type":14,"tag":1131,"props":1537,"children":1538},{},[1539],{"type":14,"tag":26,"props":1540,"children":1542},{"className":1541},[],[1543],{"type":20,"value":1139},{"type":14,"tag":1131,"props":1545,"children":1546},{},[1547],{"type":20,"value":1144},{"type":14,"tag":1131,"props":1549,"children":1550},{},[1551],{"type":20,"value":1149},{"type":14,"tag":1131,"props":1553,"children":1554},{},[1555],{"type":20,"value":1556},"应用 Key",{"type":14,"tag":1099,"props":1558,"children":1559},{},[1560,1568,1572,1576],{"type":14,"tag":1131,"props":1561,"children":1562},{},[1563],{"type":14,"tag":26,"props":1564,"children":1566},{"className":1565},[],[1567],{"type":20,"value":1166},{"type":14,"tag":1131,"props":1569,"children":1570},{},[1571],{"type":20,"value":1144},{"type":14,"tag":1131,"props":1573,"children":1574},{},[1575],{"type":20,"value":1149},{"type":14,"tag":1131,"props":1577,"children":1578},{},[1579],{"type":20,"value":1580},"应用 Secret",{"type":14,"tag":1099,"props":1582,"children":1583},{},[1584,1593,1597,1601],{"type":14,"tag":1131,"props":1585,"children":1586},{},[1587],{"type":14,"tag":26,"props":1588,"children":1590},{"className":1589},[],[1591],{"type":20,"value":1592},"eventName",{"type":14,"tag":1131,"props":1594,"children":1595},{},[1596],{"type":20,"value":1144},{"type":14,"tag":1131,"props":1598,"children":1599},{},[1600],{"type":20,"value":1149},{"type":14,"tag":1131,"props":1602,"children":1603},{},[1604],{"type":20,"value":1605},"事件名称",{"type":14,"tag":1099,"props":1607,"children":1608},{},[1609,1618,1623,1627],{"type":14,"tag":1131,"props":1610,"children":1611},{},[1612],{"type":14,"tag":26,"props":1613,"children":1615},{"className":1614},[],[1616],{"type":20,"value":1617},"eventType",{"type":14,"tag":1131,"props":1619,"children":1620},{},[1621],{"type":20,"value":1622},"int",{"type":14,"tag":1131,"props":1624,"children":1625},{},[1626],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1628,"children":1629},{},[1630],{"type":20,"value":1631},"事件类型，默认 7（1=下载 2=安装 3=打开 4=注册 5=自定义 6=付费）",{"type":14,"tag":1099,"props":1633,"children":1634},{},[1635,1643,1647,1651],{"type":14,"tag":1131,"props":1636,"children":1637},{},[1638],{"type":14,"tag":26,"props":1639,"children":1641},{"className":1640},[],[1642],{"type":20,"value":1218},{"type":14,"tag":1131,"props":1644,"children":1645},{},[1646],{"type":20,"value":1196},{"type":14,"tag":1131,"props":1648,"children":1649},{},[1650],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1652,"children":1653},{},[1654],{"type":20,"value":1655},"设备 ID",{"type":14,"tag":1099,"props":1657,"children":1658},{},[1659,1668,1672,1676],{"type":14,"tag":1131,"props":1660,"children":1661},{},[1662],{"type":14,"tag":26,"props":1663,"children":1665},{"className":1664},[],[1666],{"type":20,"value":1667},"userId",{"type":14,"tag":1131,"props":1669,"children":1670},{},[1671],{"type":20,"value":1196},{"type":14,"tag":1131,"props":1673,"children":1674},{},[1675],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1677,"children":1678},{},[1679],{"type":20,"value":1680},"用户 ID",{"type":14,"tag":1099,"props":1682,"children":1683},{},[1684,1693,1697,1701],{"type":14,"tag":1131,"props":1685,"children":1686},{},[1687],{"type":14,"tag":26,"props":1688,"children":1690},{"className":1689},[],[1691],{"type":20,"value":1692},"inviteCode",{"type":14,"tag":1131,"props":1694,"children":1695},{},[1696],{"type":20,"value":1196},{"type":14,"tag":1131,"props":1698,"children":1699},{},[1700],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1702,"children":1703},{},[1704],{"type":20,"value":1705},"邀请码",{"type":14,"tag":1099,"props":1707,"children":1708},{},[1709,1718,1722,1726],{"type":14,"tag":1131,"props":1710,"children":1711},{},[1712],{"type":14,"tag":26,"props":1713,"children":1715},{"className":1714},[],[1716],{"type":20,"value":1717},"channel",{"type":14,"tag":1131,"props":1719,"children":1720},{},[1721],{"type":20,"value":1196},{"type":14,"tag":1131,"props":1723,"children":1724},{},[1725],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1727,"children":1728},{},[1729],{"type":20,"value":1730},"渠道标识",{"type":14,"tag":1099,"props":1732,"children":1733},{},[1734,1743,1748,1752],{"type":14,"tag":1131,"props":1735,"children":1736},{},[1737],{"type":14,"tag":26,"props":1738,"children":1740},{"className":1739},[],[1741],{"type":20,"value":1742},"eventParams",{"type":14,"tag":1131,"props":1744,"children":1745},{},[1746],{"type":20,"value":1747},"Map?",{"type":14,"tag":1131,"props":1749,"children":1750},{},[1751],{"type":20,"value":1201},{"type":14,"tag":1131,"props":1753,"children":1754},{},[1755],{"type":20,"value":1756},"自定义参数",{"type":14,"tag":49,"props":1758,"children":1760},{"id":1759},"类型定义",[1761],{"type":20,"value":1759},{"type":14,"tag":61,"props":1763,"children":1765},{"className":276,"code":1764,"language":278,"meta":7,"style":7},"class AttributionResult {\n  final String? inviteCode;  \u002F\u002F 邀请码\n  final String channel;      \u002F\u002F 渠道\n  final String matchType;    \u002F\u002F clipboard | fingerprint | ipua | direct | none\n  final double confidence;   \u002F\u002F 置信度 (0-1)\n  final String scene;        \u002F\u002F 场景标识\n}\n",[1766],{"type":14,"tag":26,"props":1767,"children":1768},{"__ignoreMap":7},[1769,1777,1785,1793,1801,1809,1817],{"type":14,"tag":71,"props":1770,"children":1771},{"class":73,"line":74},[1772],{"type":14,"tag":71,"props":1773,"children":1774},{},[1775],{"type":20,"value":1776},"class AttributionResult {\n",{"type":14,"tag":71,"props":1778,"children":1779},{"class":73,"line":84},[1780],{"type":14,"tag":71,"props":1781,"children":1782},{},[1783],{"type":20,"value":1784},"  final String? inviteCode;  \u002F\u002F 邀请码\n",{"type":14,"tag":71,"props":1786,"children":1787},{"class":73,"line":106},[1788],{"type":14,"tag":71,"props":1789,"children":1790},{},[1791],{"type":20,"value":1792},"  final String channel;      \u002F\u002F 渠道\n",{"type":14,"tag":71,"props":1794,"children":1795},{"class":73,"line":116},[1796],{"type":14,"tag":71,"props":1797,"children":1798},{},[1799],{"type":20,"value":1800},"  final String matchType;    \u002F\u002F clipboard | fingerprint | ipua | direct | none\n",{"type":14,"tag":71,"props":1802,"children":1803},{"class":73,"line":125},[1804],{"type":14,"tag":71,"props":1805,"children":1806},{},[1807],{"type":20,"value":1808},"  final double confidence;   \u002F\u002F 置信度 (0-1)\n",{"type":14,"tag":71,"props":1810,"children":1811},{"class":73,"line":323},[1812],{"type":14,"tag":71,"props":1813,"children":1814},{},[1815],{"type":20,"value":1816},"  final String scene;        \u002F\u002F 场景标识\n",{"type":14,"tag":71,"props":1818,"children":1819},{"class":73,"line":332},[1820],{"type":14,"tag":71,"props":1821,"children":1822},{},[1823],{"type":20,"value":474},{"type":14,"tag":1825,"props":1826,"children":1827},"style",{},[1828],{"type":20,"value":1829},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":84,"depth":84,"links":1831},[1832,1833,1837,1840],{"id":17,"depth":84,"text":17},{"id":45,"depth":84,"text":45,"children":1834},[1835,1836],{"id":51,"depth":106,"text":54},{"id":190,"depth":106,"text":193},{"id":271,"depth":84,"text":271,"children":1838},[1839],{"id":403,"depth":106,"text":403},{"id":963,"depth":84,"text":966,"children":1841},[1842,1843,1844,1845,1846,1847,1848],{"id":969,"depth":106,"text":976},{"id":1005,"depth":106,"text":1012},{"id":1034,"depth":106,"text":1041},{"id":1335,"depth":106,"text":1342},{"id":1388,"depth":106,"text":1395},{"id":1424,"depth":106,"text":1431},{"id":1759,"depth":106,"text":1759},"markdown","content:docs:flutter-sdk.md","content","docs\u002Fflutter-sdk.md","docs\u002Fflutter-sdk","md",1784877317612]