Panel constructor
Panel({})
Implementation
Panel({required this.key, required this.children, this.size = const Size(500, 500), this.titles = const []})
: assert(titles.length == children.length),
super(key: key);