Question

  • Creator
    Topic
  • #3979314

    How to create a transparent window in flutter for windows?

    by limeharpist.0n

    Tags: 

    How can I create a transparent window in flutter for windows? My main objective is to create windows of custom shapes to create splash screens and special UIs.

You are posting a reply to: How to create a transparent window in flutter for windows?

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Answers

  • Author
    Replies
    • #3986417

      Reply To: How to create a transparent window in flutter for windows?

      by jinesh.sethia

      In reply to How to create a transparent window in flutter for windows?

      For the transparent part of your question I can recommend聽bitsdojo_window聽it has support for windows, linux and macos. Also you could just modify the windows embedding if that plugin does not fits your needs.

      Now for the customs shape part 馃槄 IDK of any such plugin, so you’ll probably will have to modify the windows embedding(the folder that flutter creates, using c++), or create a plugin for it. Once again if you go down that road the聽bitsdojo_window聽plugin is a great place to start looking at sample code that might point you to the right path of implementing it.

    • #3986724

      Reply To: How to create a transparent window in flutter for windows?

      by petergroft93

      In reply to How to create a transparent window in flutter for windows?

      How to set Transparent Background Color in Flutter
      Method 1: Container( color: Colors. redAccent.
      Method 2: AppBar( backgroundColor: Color. fromRGBO(24,233, 111, 0.6), )
      Method 3: Container( color: Color.
      Method 4: Opacity( opacity: 0.5, //from 0-1, 0.5 = 50% opacity child:Container( //widget tree ) )

      Regards,
      Peter

      • #3988587

        creating transparent window in flutter

        by garcemarshal2753

        In reply to Reply To: How to create a transparent window in flutter for windows?

        Thank you so much for sharing such a detailed reply. Since june I am trying myself to create custom transparent window for Low cost offset smoker in flutter. But I was unable. I watched different youtube videos. But all in vain. Your single comment helped me and I completed my transparent window.

    • #3987559

      Reply To: How to create a transparent window in flutter for windows?

      by jinesh.sethia

      In reply to How to create a transparent window in flutter for windows?

      Just surround the widget or widget tree you want to make transparent with an Opacity widget and specify the opacity value from 0.0 to 1.0 For example: 0.0 means completely invisible, 0.5 means half way transparent, 1.0 means fully visible.

Viewing 2 reply threads