Coder Social home page Coder Social logo

win's Introduction

This is project in a very experimental stage

Connecting the Windows platform with the beautiful Dart language. Can be used inside or without flutter application.

Features:

  • Not cross-platform. (Windows only)
  • Doesn't require c++ (everything is a Dart).

Goals:

Cover the range of low-level windows api by wrapping them in high-level wrappers.

Example

example description show
flutter_window_man The example demonstrates the functionality of Hwnd in flutter app
flutter_win_man.mp4
multi_instance_one_process.dart Multiple flutter instances in one process
multi_instance_one_thread.mp4
notepad_inside.dart Placing another program window into a Dart window
notepad_inside.mp4
simple.dart A simple example of a native window
simple.mp4

win's People

Contributors

ilopx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

win's Issues

Flutter build

win: build [--single] - build a flutter application or pack it into an installer

Catch wndproc in flutter app

Subtasks:

  • Implementation real dragging in flutter_window_man

Use case:

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return WndProc(
      wndproc: (int hwnd, int msg, int wParam, int lParam) {
        switch (msg) {
          case WM_MOUSEMOVE:
            break;

          case WM_CLOSE:
            break;

          case WM_SIZE:
            break;

          case WM_FONTCHANGE:
            break;

          case WM_DPICHANGED:
            break;
        }
      }
    );
  }
}

WindowGrabber

Allows to draw and control any native window inside the flutter application

Creation utility

Example: win: create [flutter | service | app] - creates an application skeleton

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.