PlatformWidget constructor

PlatformWidget({
  1. Key? key,
  2. Widget? android,
  3. Widget? fallback,
  4. Widget? ios,
  5. Widget? linux,
  6. Widget? macOS,
  7. Widget? web,
  8. Widget? windows,
})

Implementation

PlatformWidget({
  Key? key,
  Widget? android,
  Widget? fallback,
  Widget? ios,
  Widget? linux,
  Widget? macOS,
  Widget? web,
  Widget? windows,
})  : value = PlatformValue<Widget>(
        android: android,
        fallback: fallback,
        ios: ios,
        linux: linux,
        macOS: macOS,
        web: web,
        windows: windows,
      ),
      super(key: key);