SlinkyPanelParameter class

SlinkyPannelParameter is a class that handles panel parameters.

Constructors

SlinkyPanelParameter({required List<Widget> contents, SliverAppBar appBar = slinkyPanelAppBar, double maxSize = 0.9, double minSize = 0.4, BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(32))})
const

Properties

appBar SliverAppBar
The widget displayed at the top in the Panel.
final
borderRadius BorderRadiusGeometry
The rounded corners of panel.
final
contents List<Widget>
The widget's displayed in the Panel. The widget's must be Sliver widgets.
final
hashCode int
The hash code for this object.
no setterinherited
maxSize double
The maximum fractional value of the panel height to use when displaying the panel. The default value is 0.9.
final
minSize double
The minimum fractional value of the panel height to use when displaying the panel. The default value is 0.4.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({SliverAppBar? appBar, List<Widget>? contents, double? maxSize, double? minSize, BorderRadiusGeometry? borderRadius}) SlinkyPanelParameter
Creates a copy of this SlinkyPanelParameter but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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