
If you need to open a window with an id at a location other than the remembered default, you can create it hidden, move it to the desired location, then show it. This size and position is then used instead of the specified bounds on subsequent opening of a window with the same id. If a window has an id, This id is used to remember the size and position of the window whenever it is moved or resized.

But if you need, you could set two separate colours, one for drawing the window border and the other one for drawing the title bar background. To automatically remember the positions of windows you can give them ids. Note that, by default the title bar and the border of the chrome are drawn using the same colour. Therefore setting the same property for both inner and outer bounds is considered an error (for example, setting both innerBounds.left and outerBounds.left). Scaffold( appBar: AppBar( backgroundColor: Color(0xff885566), title: Text( Flutter Tutorial -, ), ), body: Container(), ) backgroundColor: Color(0xff885566) sets the color of application bar to Color(0xff885566). Note that the padding between the inner and outer bounds is determined by the OS. A quick code snippet to change the app bar color is given below. Outer bounds include the window's title bar and frame. Inner bounds do not include window decorations. To set the position, size and constraints of the window, use the innerBounds or outerBounds properties.

The most simple option is not specifying anything at all, in which case a default size and platform dependent position will be used.

The size and position of a window can be specified in a number of different ways.
