UniversalScaffoldScope class

Scope for retrieving information in UniversalScaffold.

It can be obtained at UniversalScaffold.of.

UniversalScaffoldの中の情報を取得するためのスコープ。

UniversalScaffold.ofで取得できます。

Inheritance
Available extensions

Constructors

UniversalScaffoldScope({Key? key, required Widget child, required Breakpoint? breakpoint, required double sideBarWidth})
Scope for retrieving information in UniversalScaffold.
const

Properties

breakpoint Breakpoint?
Describe breakpoints for responsive containers.
final
child Widget
The widget below this widget in the tree.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sideBarWidth double
Width of sidebar.
final

Methods

alignAt(Alignment alignment, {Key? key, double? heightFactor, double? widthFactor}) Align

Available on Widget, provided by the UniversalUIWidgetStructureExtensions extension

Move Widget to alignment.
background(Color backgroundColor) DecoratedBox

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Change the backgroundColor of the Widget.
border(BoxBorder border) DecoratedBox

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Add border to Widget.
centerAt() Center

Available on Widget, provided by the UniversalUIWidgetStructureExtensions extension

Center the Widget.
clipOval({CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.antiAlias}) ClipOval

Available on Widget, provided by the UniversalUIClipExtensions extension

Clip Widget in a circle.
clipRect({required BorderRadiusGeometry borderRadius, CustomClipper<RRect>? clipper, Clip clipBehavior = Clip.antiAlias}) ClipRRect

Available on Widget, provided by the UniversalUIClipExtensions extension

Clip Widget with a rounded rectangle.
createElement() InheritedElement
Inflates this configuration to a concrete instance.
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
decoration({Color? backgroundColor, BoxBorder? border}) DecoratedBox

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Add a backgroundColor background or border to the Widget.
expanded({int flex = 1}) Expanded

Available on Widget, provided by the UniversalUIWidgetStructureExtensions extension

Give Expanded to Widget.
flexible({int flex = 1}) Flexible

Available on Widget, provided by the UniversalUIWidgetStructureExtensions extension

Give Flexible to Widget.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDoubleTap(VoidCallback callback) GestureDetector

Available on Widget, provided by the UniversalUIGestureDetectorExtensions extension

callback when a double-tap is performed.
onDoubleTapWithInk(VoidCallback callback) InkWell

Available on Widget, provided by the UniversalUIGestureDetectorExtensions extension

callback when a double-tap is performed.
onLongPress(VoidCallback callback) GestureDetector

Available on Widget, provided by the UniversalUIGestureDetectorExtensions extension

Execute callback when a long press is performed.
onLongPressWithInk(VoidCallback callback) InkWell

Available on Widget, provided by the UniversalUIGestureDetectorExtensions extension

Execute callback when a long press is performed.
onTap(VoidCallback callback) GestureDetector

Available on Widget, provided by the UniversalUIGestureDetectorExtensions extension

callback when a tap is performed.
onTapWithInk(VoidCallback callback) InkWell

Available on Widget, provided by the UniversalUIGestureDetectorExtensions extension

callback when a tap is performed.
opacity({required double opacity}) Opacity

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Change the transparency of Widget to opacity.
padding(EdgeInsetsGeometry padding) Padding

Available on Widget, provided by the UniversalUIPaddingExtensions extension

Set Widget padding to padding.
paddingLTRB(double left, double top, double right, double bottom) Padding

Available on Widget, provided by the UniversalUIPaddingExtensions extension

Set the padding of Widget based on left, top, right, and bottom.
shadow({Color shadowColor = const Color(_kColorDefault), double blurRadius = 0.0, double spreadRadius = 0.0, Offset offset = Offset.zero, BlurStyle blurStyle = BlurStyle.normal}) DecoratedBox

Available on Widget, provided by the UniversalUIDecorationExtensions extension

Add shadow to Widget.
sizeTo({double? width, double? height}) SizedBox

Available on Widget, provided by the UniversalUIClipExtensions extension

Set the size of the Widget to width and height.
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
updateShouldNotify(covariant UniversalScaffoldScope oldWidget) bool
Whether the framework should notify widgets that inherit from this widget.
override

Operators

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