[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9324":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":15,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":20,"topics":21,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},9324,"flutter_platform_widgets","stryder-dev\u002Fflutter_platform_widgets","stryder-dev","Target the specific design of Material for Android and Cupertino for iOS widgets through a common set of Platform aware widgets",null,"Dart",1631,173,18,45,0,19.72,"MIT License",false,"master",true,[22,23,24,25],"dart","flutter","package","widgets","2026-06-12 02:02:05","## ⚠️ Package Discontinued\n\nDue to Flutter's decision to split out Material and Cupertino widgets into their own packages, this project is now no longer supported. \n\nNo further bug fixes or compatibility updates will be provided.\n\n\n\u003Cp align=\"center\">\n\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fstryder-dev\u002Fflutter_platform_widgets\u002Fmaster\u002Fimages\u002Flogo.png\" width=\"250px\" alt=\"Flutter Platform Widgets\" \u002F>\n\u003C\u002Fp>\n\n\u003C!-- omit in toc -->\n# Flutter Platform Widgets\n\n![Pub](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fflutter_platform_widgets) ![GitHub](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fstryder-dev\u002Fflutter_platform_widgets)\n\n\u003C!-- omit in toc -->\n### TL;DR;\nA wrapper library that makes it easier to target the design language of your chosen platform using a single widget.\n\n\u003C!-- omit in toc -->\n### Bit more\nFor anyone that starts with building apps with Flutter it becomes clear that picking the right widget is important. This typically starts with using the Material set of widgets which is the default look and feel for Android. However when designing screens for iOS and the Cupertino design language a double up of effort is required to cater for a new set of widgets.\n\nThis project was initially an experiment which grew into a fully fledged package to support the look using the Material and Cupertino designed widgets with a single platform widget.\n\nIf you want to build a Material and Cupertino looking app with very similar functionality then this package could save you time and effort.\n\n---\n\nThis package supports the **Stable** release as a full released version.\n\nBeta channels might be supported when there is a pre-release version. Please check the CHANGELOG for version compatibility.\n\nDue to Master being in rapid development this package is unable to support the Master channel. If this support is required then it is best to fork the repo and locally reference the forked version where you can make changes appropriately.\n\n---\n\n# Installation\n\n> pub.dev: https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_platform_widgets\u002Finstall\n\n# How it works \u003Ca name=\"how-it-works\">\u003C\u002Fa>\n\nInstead of having to write conditional code like this...\n\n```dart\nif (Platform.isAndroid) {\n  return ElevatedButton(onPressed: onPressed, child: child);\n} else if (Platform.isIOS) {\n  return CupertinoButton.filled(onPressed: onPressed, child: child);\n}\n```\n\nyou can use a single `platform` widget which will render the correct underlying widget based on the `ThemeData.platform` property...\n\n```dart\nreturn PlatformElevatedButton(onPressed: onPressed, child: child);\n```\nThe heavy lifting of choosing the right widget is done for you.\n\nYou can also specify what design language you want for any supported platforms within flutter. These include:\n* Android\n* iOS\n* Web\n* Macos\n* Windows\n* Linux\n\n# Docs\n\nView the [package wiki](https:\u002F\u002Fgithub.com\u002Fstryder-dev\u002Fflutter_platform_widgets\u002Fwiki) for details of how to use and the list of available widgets\n\n\n# Issues and Feedback\n\nPlease [create](https:\u002F\u002Fgithub.com\u002Fstryder-dev\u002Fflutter_platform_widgets\u002Fissues\u002Fnew) an issue to provide feedback or an issue.\n\n# License\n\nMIT\n\n# Contributors\n\nSpecial thanks for everyone that have contributed to this project over the last 5 years...\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fstryder-dev\u002Fflutter_platform_widgets\u002Fgraphs\u002Fcontributors\">\n  \u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=stryder-dev\u002Fflutter_platform_widgets\" \u002F>\n\u003C\u002Fa>\n\nMade with [contrib.rocks](https:\u002F\u002Fcontrib.rocks).\n\nInspired by the example given by Swav Kulinski (https:\u002F\u002Fgithub.com\u002Fswavkulinski\u002Fflutter-platform-specific-widgets)\n","Flutter Platform Widgets 是一个用于简化跨平台设计的 Flutter 包，它通过一组平台感知的小部件来实现针对 Android 的 Material 设计和 iOS 的 Cupertino 设计。核心功能是提供了一个统一的接口，使得开发者可以使用单个小部件来渲染适合当前平台的设计风格，从而避免了为不同平台编写重复代码的需求。该包支持多种平台包括Android、iOS、Web、macOS、Windows 和 Linux，并且能够根据当前的主题自动选择合适的底层小部件。适用于希望在不牺牲用户体验的情况下快速开发出具有原生外观感觉应用的场景。尽管此项目已不再维护，但其提供的解决方案对于需要同时支持Material和Cupertino设计语言的应用来说仍然非常有价值。",2,"2026-06-11 03:22:10","top_language"]