Customize the UI Style
Use FloatingMenuExpendableStyle to customize blur, barrier color, panel radius, and handle ink effects.
FloatingMenuExpendable(
controller: controller,
panelWidth: 320,
panelHeight: 240,
handleChild: const Icon(Icons.menu),
panelChild: const ColoredBox(color: Colors.white),
style: const FloatingMenuExpendableStyle(
// Background barrier
showBarrierWhenOpen: true,
barrierDismissible: true,
barrierColor: Color(0x66000000),
barrierBlurSigmaX: 10,
barrierBlurSigmaY: 10,
// Panel
panelBorderRadius: BorderRadius.all(Radius.circular(18)),
),
)