Type definition for the builder function
typedef Widget MiniplayerBuilder(double height, double percentage);