Panel constructor

Panel({
  1. required Key key,
  2. required List<Widget> children,
  3. Size size = const Size(500, 500),
  4. List<String?> titles = const [],
})

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);