{"id":13784770,"url":"https://github.com/mix1009/desktop_window","last_synced_at":"2025-04-05T01:03:13.075Z","repository":{"id":47274126,"uuid":"266701841","full_name":"mix1009/desktop_window","owner":"mix1009","description":"Flutter plugin for Flutter desktop(macOS/Linux/Windows) to change window size.","archived":false,"fork":false,"pushed_at":"2024-10-29T11:20:12.000Z","size":175,"stargazers_count":87,"open_issues_count":22,"forks_count":25,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T00:04:11.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mix1009.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-25T06:31:50.000Z","updated_at":"2025-03-08T12:49:20.000Z","dependencies_parsed_at":"2024-10-29T12:29:46.450Z","dependency_job_id":null,"html_url":"https://github.com/mix1009/desktop_window","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mix1009%2Fdesktop_window","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mix1009%2Fdesktop_window/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mix1009%2Fdesktop_window/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mix1009%2Fdesktop_window/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mix1009","download_url":"https://codeload.github.com/mix1009/desktop_window/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271514,"owners_count":20911587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T19:00:52.263Z","updated_at":"2025-04-05T01:03:13.056Z","avatar_url":"https://github.com/mix1009.png","language":"C++","readme":"# desktop_window\n\nFlutter plugin for Flutter desktop(macOS/Linux/Windows) to change window size.\n\n\n## Usage\n```\nimport 'package:desktop_window/desktop_window.dart';\n\nFuture testWindowFunctions() async {\n    Size size = await DesktopWindow.getWindowSize();\n    print(size);\n    await DesktopWindow.setWindowSize(Size(500,500));\n\n    await DesktopWindow.setMinWindowSize(Size(400,400));\n    await DesktopWindow.setMaxWindowSize(Size(800,800));\n\n    await DesktopWindow.resetMaxWindowSize();\n    await DesktopWindow.toggleFullScreen();\n    bool isFullScreen = await DesktopWindow.getFullScreen();\n    await DesktopWindow.setFullScreen(true);\n    await DesktopWindow.setFullScreen(false);\n    bool hasBorders = await DesktopWindow.hasBorders;\n    await DesktopWindow.setBorders(false);\n    await DesktopWindow.setBorders(true);\n    await DesktopWindow.toggleBorders();\n    await DesktopWindow.focus();\n}\n```\n\n\n## Contributers\n\nLinux support has been contributed by Justus Fluegel (https://github.com/JustusFluegel)\n\n","funding_links":[],"categories":["Packages"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmix1009%2Fdesktop_window","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmix1009%2Fdesktop_window","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmix1009%2Fdesktop_window/lists"}