usePlatform method

void usePlatform({
  1. Widget base(
    1. Niku
    )?,
  2. Widget android(
    1. Niku
    )?,
  3. Widget iOS(
    1. Niku
    )?,
  4. Widget fuchsia(
    1. Niku
    )?,
  5. Widget linux(
    1. Niku
    )?,
  6. Widget macOS(
    1. Niku
    )?,
  7. Widget windows(
    1. Niku
    )?,
  8. Widget web(
    1. Niku
    )?,
})

Implementation

void usePlatform({
  Widget Function(Niku)? base,
  Widget Function(Niku)? android,
  Widget Function(Niku)? iOS,
  Widget Function(Niku)? fuchsia,
  Widget Function(Niku)? linux,
  Widget Function(Niku)? macOS,
  Widget Function(Niku)? windows,
  Widget Function(Niku)? web,
}) =>
    $parent
      ..usePlatform(
        base: base,
        android: android,
        iOS: iOS,
        fuchsia: fuchsia,
        linux: linux,
        macOS: macOS,
        windows: windows,
        web: web,
      );