v1.0.0
window_to_front
Mac, Linux 및 데스크톱용으로 애플리케이션이 자동으로 애플리케이션 창 스택의 앞부분으로 올라오도록 하기 위해.
19좋아요 56.9만30일 다운로드160Pub 점수
macOSWindowsLinux
브라우저 기반 인증 흐름 후 애플리케이션 창을 앞쪽으로 가져오는 Flutter 데스크톱 플러그인 (Windows, Linux, macOS). SwiftPM 지원.
{"sdk":"flutter"}{"sdk":"flutter"}^6.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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.
| Platform | Supported |
|---|---|
| Windows | ✅ |
| Linux | ✅ |
| macOS | ✅ |
Add the dependency to your pubspec.yaml:
dependencies:
window_to_front: ^0.0.4
Then run:
flutter pub get
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.
Released under the MIT License.