[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9224":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},9224,"flutter_device_preview","aloisdeniel\u002Fflutter_device_preview","aloisdeniel","Approximate how your app looks and performs on another device.","https:\u002F\u002Faloisdeniel.github.io\u002Fflutter_device_preview\u002F",null,"Dart",2377,386,18,97,0,1,4,29.76,"MIT License",false,"master",true,[25,26,27,28],"device","flutter","preview","tool","2026-06-12 02:02:04","\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Faloisdeniel\u002Fflutter_device_preview\u002Fraw\u002Fmaster\u002Flogo.png\" alt=\"Device Preview for Flutter\" \u002F>\n\u003C\u002Fp>\n\n\u003Ch4 align=\"center\">Approximate how your app looks and performs on another device.\u003C\u002Fh4>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fpub.dartlang.org\u002Fpackages\u002Fdevice_preview\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fdevice_preview.svg\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.buymeacoffee.com\u002Faloisdeniel\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F$-donate-ff69b4.svg?maxAge=2592000&amp;style=flat\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Faloisdeniel\u002Fflutter_device_preview\u002Fraw\u002Fmaster\u002Fdevice_preview.gif\" alt=\"Device Preview for Flutter\" \u002F>\n\u003C\u002Fp>\n\n## Main features\n\n* Preview any device from any device\n* Change the device orientation\n* Dynamic system configuration (*language, dark mode, text scaling factor, ...)*\n* Freeform device with adjustable resolution and safe areas\n* Keep the application state\n* Plugin system (*Screenshot, File explorer, ...*)\n* Customizable plugins\n\n## Quickstart\n\n### Add dependency to your pubspec file\n\nSince Device Preview is a simple Dart package, you have to declare it as any other dependency in your `pubspec.yaml` file.\n\n```yaml\ndependencies:\n  device_preview: \u003Clatest version>\n```\n\n### Add DevicePreview\n\nWrap your app's root widget in a `DevicePreview` and make sure to :\n\n* Set your app's `useInheritedMediaQuery` to `true`.\n* Set your app's `builder` to `DevicePreview.appBuilder`.\n* Set your app's `locale` to `DevicePreview.locale(context)`.\n\n> Make sure to override the previous properties as described. If not defined, `MediaQuery` won't be simulated for the selected device.\n\n```dart\nimport 'package:device_preview\u002Fdevice_preview.dart';\n\nvoid main() => runApp(\n  DevicePreview(\n    enabled: !kReleaseMode,\n    builder: (context) => MyApp(), \u002F\u002F Wrap your app\n  ),\n);\n\nclass MyApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      useInheritedMediaQuery: true,\n      locale: DevicePreview.locale(context),\n      builder: DevicePreview.appBuilder,\n      theme: ThemeData.light(),\n      darkTheme: ThemeData.dark(),\n      home: const HomePage(),\n    );\n  }\n}\n```\n\n## Documentation\n\n\u003Ca href='https:\u002F\u002Faloisdeniel.github.io\u002Fflutter_device_preview\u002F' target='_blank'>Open the website\u003C\u002Fa>\n\n## Demo\n\n\u003Ca href='https:\u002F\u002Fflutter-device-preview.firebaseapp.com\u002F' target='_blank'>Open the demo\u003C\u002Fa>\n\n## Limitations\n\nThink of Device Preview as a first-order approximation of how your app looks and feels on a mobile device. With Device Mode you don't actually run your code on a mobile device. You simulate the mobile user experience from your laptop, desktop or tablet.\n\n> There are some aspects of mobile devices that Device Preview will never be able to simulate. When in doubt, your best bet is to actually run your app on a real device.","flutter_device_preview 是一个用于 Flutter 应用开发的工具，可以帮助开发者在不同设备上预览应用的外观和性能。其核心功能包括支持多种设备预览、更改设备方向、动态系统配置（如语言、暗模式等）、自定义分辨率及安全区域调整、保持应用状态以及插件扩展等。该项目采用 Dart 语言编写，具有良好的可定制性和扩展性。适用于需要快速测试和优化跨设备兼容性的 Flutter 开发场景，能够显著提高开发效率和用户体验的一致性。",2,"2026-06-11 03:21:46","top_language"]