useOwnLayer property

bool useOwnLayer
final

Whether to create its own LiquidGlassLayer.

If false (default), the button must be inside a LiquidGlassLayer. If true, creates an independent glass layer with settings.

Defaults to false (grouped mode).

Implementation

final bool useOwnLayer;