SunnyResponsivePage class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SunnyPage
- SunnyResponsivePage
- Available extensions
- Annotations
Constructors
-
SunnyResponsivePage({Key? key, dynamic body, HeroBar? expanded, bool useBody = false, bool isWhiteBg = false, dynamic pageTitle, bool cachePage = false, bool isContentPadding = true, Widget? leading, bool isImpliedLeading = true, double? headerHeight, List<
Widget> ? actions, bool showAppBarDivider = false, bool showTabBarWithKeyboard = false, bool hideAppBar = false, WidgetBuilder? fab, Color? appBarColor, ScrollController? scroller, DecorationImage? bgImage, Widget? underlay, Widget? overlay, AsyncCallback? onStretch, SunnyPageLayoutFactory? layout}) -
const
Properties
-
actions
→ List<
Widget> ? -
final
- appBarColor → Color?
-
final
- bgImage → DecorationImage?
-
final
- body → dynamic
-
final
- cachePage → bool
-
final
- expanded → HeroBar?
-
final
- fab → WidgetBuilder?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerHeight → double?
-
final
- hideAppBar → bool
-
final
- isContentPadding → bool
-
final
- isImpliedLeading → bool
-
final
- isWhiteBg → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- layout → SunnyPageLayoutFactory?
-
final
- leading → Widget?
-
final
- onStretch → AsyncCallback?
-
final
- overlay → Widget?
-
final
- pageTitle → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scroller → ScrollController?
-
final
- showAppBarDivider → bool
-
final
- showTabBarWithKeyboard → bool
-
final
- underlay → Widget?
-
final
- useBody → bool
-
final
Methods
-
bpad(
[int units = 2]) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
color(
Color color) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
constrained(
{double? height, double? width}) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → SunnyResponsivePageState -
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
-
headerPad(
) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
hero(
String? heroTag) → Widget -
Available on Widget, provided by the SunnyWidgetHeroExtensions extension
-
hpad(
[int units = 2]) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
listItemCard(
) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
listItemPad(
) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
listItemTallPad(
{Key? key}) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
loose(
) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
lpad(
[int units = 2]) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
maybeWrap(
bool wrapIf, Widget wrap(Widget child)) → Widget -
Available on Widget, provided by the WidgetMaybeWrap extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pad(
{int h = 2, int v = 1}) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
responsive(
{double maxWidth = kDefaultResponsiveWidth, ResponsiveMaxWidth? calculated}) → Widget -
Available on Widget, provided by the WidgetConstraint extension
-
responsiveSliver(
{double maxWidth = kDefaultResponsiveWidth, ResponsiveSliverMaxWidth? calculated}) → Widget -
Available on Widget, provided by the WidgetConstraint extension
-
rpad(
[int units = 2]) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
sectionPad(
) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
sized(
{double? height, double? width}) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
sliverBox(
) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
sliverFill(
) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
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
-
tpad(
[int units = 2]) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
vpad(
[int units = 2]) → Widget -
Available on Widget, provided by the WidgetSpacingExt extension
-
withDragHandle(
) → Widget -
Available on Widget, provided by the WidgetDragHandleExt extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited