flutter_always_on_top_linux 0.1.0 copy "flutter_always_on_top_linux: ^0.1.0" to clipboard
flutter_always_on_top_linux: ^0.1.0 copied to clipboard

discontinued
PlatformLinux

A Flutter plugin to keep the window always on top in Linux using C and FFI.

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_always_on_top_linux/flutter_always_on_top_linux.dart';

void main() {
  runApp(const MyApp());

  WidgetsBinding.instance.addPostFrameCallback((_) {
    FlutterAlwaysOnTopLinux.setAlwaysOnTop(true);
  });
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Always On Top Demo',
      home: Scaffold(
        appBar: AppBar(title: const Text('Always On Top Example')),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              FlutterAlwaysOnTopLinux.setAlwaysOnTop(true);
            },
            child: const Text('Make Always On Top'),
          ),
        ),
      ),
    );
  }
}
1
likes
140
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to keep the window always on top in Linux using C and FFI.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

ffi, flutter

More

Packages that depend on flutter_always_on_top_linux

Packages that implement flutter_always_on_top_linux