buildDelegate method
Implementation
ActionLayoutDelegate buildDelegate(
ActionPosition position, {
ActionController? controller,
}) {
switch (alignment) {
case ActionAlignment.spaceEvenly:
return _SpaceEvenlyLayoutDelegate(
motion: motion,
position: position,
controller: controller,
);
case ActionAlignment.flex:
return _FlexLayoutDelegate(
motion: motion,
position: position,
controller: controller,
);
}
}