FondePanel class

App general-purpose panel component

Panel component with header, content, and footer structure. Used at the granularity of entire panel or one container level of panel, expressing related information and actions as a unified whole.

Usage examples:

  • Entire detail area of settings screen
  • Form section
  • Information panel
  • Dashboard widget
Inheritance

Constructors

FondePanel({Key? key, Widget? header, required Widget content, Widget? footer, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, Color? backgroundColor, double? cornerRadius, BorderSide? borderSide, double? width, double? height, AlignmentGeometry alignment = Alignment.topLeft, bool disableZoom = false, bool isSelected = false, Color? selectedBackgroundColor, Color? selectedBorderColor, double selectedBorderWidth = 2.0, VoidCallback? onTap, VoidCallback? onDoubleTap, VoidCallback? onLongPress, VoidCallback? onTapDown, ValueChanged<bool>? onHover, MouseCursor cursor = SystemMouseCursors.basic})
const

Properties

alignment AlignmentGeometry
Alignment
final
backgroundColor Color?
Background color (auto-fetched from theme if null)
final
borderSide BorderSide?
Border style
final
content Widget
Panel main content (required)
final
cornerRadius double?
Corner radius (use predefined values only)
final
cursor MouseCursor
Cursor type
final
disableZoom bool
Whether to disable zoom support
final
Panel footer section
final
hashCode int
The hash code for this object.
no setterinherited
Panel header section
final
height double?
Height
final
isSelected bool
Selection state
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin EdgeInsetsGeometry?
Outer padding (predefined tokens recommended)
final
onDoubleTap VoidCallback?
Callback on double-tap
final
onHover ValueChanged<bool>?
Callback on hover
final
onLongPress VoidCallback?
Callback on long press
final
onTap VoidCallback?
Callback on tap
final
onTapDown VoidCallback?
Callback on tap down (called immediately)
final
padding EdgeInsetsGeometry?
Inner padding (predefined tokens recommended)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedBackgroundColor Color?
Background color when selected (auto-fetched from theme if null)
final
selectedBorderColor Color?
Border color when selected (auto-fetched from theme if null)
final
selectedBorderWidth double
Border width when selected
final
width double?
Width
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<FondePanel>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited