FLUTTER ECOSYSTEM

sumitvekariya/window_to_front

Plugin desktop do Flutter (Windows, Linux, macOS) que traz a janela do seu aplicativo para frente — útil após fluxos de autenticação baseados em navegador. Pronto para SwiftPM.

Capa do projeto window_to_front
Stars
8
Forks
1
Último push (UTC)
4 de jul. de 2026
Status do projeto
Ativo
Sarkazein GitHub avatar
GITHUB User

Sarkazein ↗

OSS

LinguagensC++DartCMakeSwiftCRubyShell

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • flutter_lintsDesenvolvimento^6.0.0

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher 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.