| Flutter Windows Embedder |

Public Member Functions | List of all members
flutter::BoxConstraints Class Reference

`#include <geometry.h>`

## Public Member Functions
| BoxConstraints ()=default
| BoxConstraints (const std::optional< Size > &smallest, const std::optional< Size > &biggest)
| BoxConstraints (const BoxConstraints &other)=default
Size | biggest () const
Size | smallest () const

## Detailed Description

Definition at line 86 of file geometry.h.

## Constructor & Destructor Documentation

## ◆ BoxConstraints() [1/3]

flutter::BoxConstraints::BoxConstraints | ( |  | ) |
| default

## ◆ BoxConstraints() [2/3]

flutter::BoxConstraints::BoxConstraints | ( | const std::optional< Size > & | smallest,
|  | const std::optional< Size > & | biggest
| ) |  |
| inline

Definition at line 89 of file geometry.h.

91 : smallest_(smallest.value_or(Size(0, 0))),
92 biggest_(
93 biggest.value_or(Size(std::numeric_limits<double>::infinity(),
94 std::numeric_limits<double>::infinity()))) {}
flutter::BoxConstraints::smallest
Size smallest() const
Definition: geometry.h:97
flutter::BoxConstraints::biggest
Size biggest() const
Definition: geometry.h:96

## ◆ BoxConstraints() [3/3]

flutter::BoxConstraints::BoxConstraints | ( | const BoxConstraints & | other | ) |
| default

## Member Function Documentation

## ◆ biggest()

Size flutter::BoxConstraints::biggest | ( |  | ) | const
| inline

Definition at line 96 of file geometry.h.

96 { return biggest_; }

Referenced by flutter::HostWindow::SetContentSize().

## ◆ smallest()

Size flutter::BoxConstraints::smallest | ( |  | ) | const
| inline

Definition at line 97 of file geometry.h.

97 { return smallest_; }

Referenced by flutter::HostWindow::SetContentSize().

The documentation for this class was generated from the following file:

- shell/platform/common/geometry.h