CScaffold class

Inheritance
Available extensions

Constructors

CScaffold.new({Key? key, required Widget body, Widget? appBar, bool? autoLostFocus, Color? backgroundColor, Widget? bottomNavigationBar, bool extendBodyBehindAppBar = false, bool safeArea = true, bool resizeToAvoidBottomInset = true, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator})

Properties

alignment Alignment?
finalinherited
appBar Widget?
final
appbarHeight Size
final
autoLostFocus bool?
final
backgroundColor Color?
finalinherited
body Widget
final
border Border?
finalinherited
borderRadius double?
finalinherited
bottomNavigationBar Widget?
final
children List<Widget>?
finalinherited
commonController CController
finalinherited
contentHeight → dynamic
no setterinherited
crossAxisAlignment CrossAxisAlignment?
finalinherited
decoration Decoration?
finalinherited
expanded bool?
finalinherited
extendBodyBehindAppBar bool
final
flex int?
finalinherited
floatingActionButton Widget?
final
floatingActionButtonAnimator FloatingActionButtonAnimator?
final
floatingActionButtonLocation FloatingActionButtonLocation?
final
gap double?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
finalinherited
icon Widget?
finalinherited
iconMargin double?
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineColor Color?
finalinherited
lineWidth double?
finalinherited
mainAxisAlignment MainAxisAlignment?
finalinherited
mainAxisSize MainAxisSize?
finalinherited
margin EdgeInsetsGeometry?
finalinherited
marginZero Widget

Available on Widget, provided by the WidgetMarginX extension

no setter
onTap → dynamic Function()?
finalinherited
padding EdgeInsetsGeometry?
finalinherited
paddingZero Widget

Available on Widget, provided by the WidgetPaddingX extension

no setter
rearIcon Widget?
finalinherited
rearIconMargin double?
finalinherited
resizeToAvoidBottomInset bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeArea bool
final
scrollDirection Axis?
finalinherited
sliverBox Widget

Available on Widget, provided by the WidgetSliverBoxX extension

no setter
style Style?
finalinherited
tag String?
finalinherited
visible bool?
finalinherited
width double?
finalinherited

Methods

alert({dynamic title, dynamic onPressed, dynamic onCanceled, dynamic text, dynamic confirmText, dynamic cancelText}) → dynamic
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
confirm({dynamic title, dynamic onPressed, dynamic onCanceled, dynamic text, dynamic confirmText, dynamic cancelText}) → dynamic
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
getAppBar(dynamic appBar) PreferredSize
getBackgroundColor() Color?
inherited
init(BuildContext context) Widget
inherited
initChildren(Widget widget, List<Widget> children, MainAxisAlignment? mainAxisAlignment, CrossAxisAlignment? crossAxisAlignment, MainAxisSize? mainAxisSize, Alignment? alignment, BuildContext context) Widget
inherited
marginAll(double margin) Widget

Available on Widget, provided by the WidgetMarginX extension

marginOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the WidgetMarginX extension

marginSymmetric({double horizontal = 0.0, double vertical = 0.0}) Widget

Available on Widget, provided by the WidgetMarginX extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paddingAll(double padding) Widget

Available on Widget, provided by the WidgetPaddingX extension

paddingOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the WidgetPaddingX extension

paddingSymmetric({double horizontal = 0.0, double vertical = 0.0}) Widget

Available on Widget, provided by the WidgetPaddingX 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
unfocus() → dynamic
inherited

Operators

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