FLUTTER ECOSYSTEM

sumitvekariya/window_to_front

Flutter デスクトッププラグイン (Windows、Linux、macOS) で、ブラウザベースの認証フロー後にアプリケーションウィンドウを前面に表示します。SwiftPM対応。

window_to_front のプロジェクト画像
Stars
8
Forks
1
最終プッシュ(UTC)
2026/07/04
プロジェクト状態
公開中
Sarkazein GitHub avatar
GITHUB User

Sarkazein ↗

OSS

言語C++DartCMakeSwiftCRubyShell

技術トピック

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^6.0.0

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

window_to_front

pub package GitHub Sponsors

A Flutter plugin that brings your desktop application window back to the front of the window stack.

After an authentication flow — or any other use case where you hand off to an external program such as a web browser — the user is often left staring at the browser window. Ideally the application should return to the front automatically. window_to_front does exactly that.

Supported platforms

Platform Supported
Windows ✅
Linux ✅
macOS ✅

Installation

Add the dependency to your pubspec.yaml:

dependencies:
  window_to_front: ^0.0.4

Then run:

flutter pub get

Usage

import 'package:window_to_front/window_to_front.dart';

// Call this when you want your application window to come to the front,
// for example right after returning from an external browser sign-in flow.
await WindowToFront.activate();

See the example for a complete sample.

License

Released under the MIT License.