XPanel constructor

const XPanel({
  1. Key? key,
  2. required String name,
  3. Widget content = const Text(""),
  4. List<Widget> actions = const [],
  5. String border = "left",
  6. EdgeInsetsGeometry padding = const EdgeInsets.only(top: 5, left: 10, right: 10, bottom: 5),
})

Implementation

const XPanel({
  super.key,
  required this.name,
  this.content = const Text(""),
  this.actions = const [],
  this.border = "left",
  this.padding = const EdgeInsets.only(
    top: 5,
    left: 10,
    right: 10,
    bottom: 5,
  ),
});