func (o FlipBookOptions) Padding(i Insets) FlipBookOpt {
	return func(f *FlipBook) {
		f.anchorLayoutOpts = append(f.anchorLayoutOpts, AnchorLayoutOpts.Padding(i))
	}
}
WithPadding configures a FlipBook with padding i.
package widget
import (
	img "image"
	"github.com/blizzy78/ebitenui/input"
	"github.com/hajimehoshi/ebiten/v2"
)
type FlipBook struct {
	containerOpts    []ContainerOpt
	anchorLayoutOpts []AnchorLayoutOpt
	init          *MultiOnce
	container     *Container
	removeCurrent RemoveChildFunc
}
type FlipBookOpt func(f *FlipBook)
type FlipBookOptions struct {
}
var FlipBookOpts FlipBookOptions
func NewFlipBook(opts ...FlipBookOpt) *FlipBook {
	f := &FlipBook{
		init: &MultiOnce{},
	}
	f.init.Append(f.createWidget)
	for _, o := range opts {
		o(f)
	}
	return f
}
func (o FlipBookOptions) ContainerOpts(opts ...ContainerOpt) FlipBookOpt {
	return func(f *FlipBook) {
		f.containerOpts = append(f.containerOpts, opts...)
	}
}