HideKeyBoardIcon class
隐藏键盘的小部件
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- HideKeyBoardIcon
- Available extensions
Constructors
- HideKeyBoardIcon.new({Key? key, EdgeInsets padding = EdgeInsets.zero})
-
const
Properties
- cardWidget → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - center → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - circleWidget → Widget
-
Available on Widget, provided by the CircleExt extension
no setter - defaultPadding12 → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - defaultPadding8 → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - editPage → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - expanded → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- materialRouter → Route
-
Available on Widget, provided by the WidgetExt extension
no setter - maxWidthButton → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - padding → EdgeInsets
-
final
- positionedFill → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - removeScrollViewSplash → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topBorder → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter - toSliverWidget → Widget
-
Available on Widget, provided by the WidgetExt extension
no setter
Methods
-
addScrollbar(
{ScrollController? controller}) → Widget - 添加滚动条
-
addTap(
VoidCallback onTap) → Widget -
aspectRatio(
double v) → Widget -
bg(
Color color) → Widget -
border(
BuildContext context, {BoxDecoration? decoration, Color? borderColor, BorderRadius? borderRadius, double width = 1.0}) → Widget -
build(
BuildContext context, WidgetRef ref) → Widget - Describes the part of the user interface represented by this widget.
-
click(
VoidCallback onTap) → Widget -
clipRadius(
double radius) → Widget -
constraintBox(
BuildWidget buildWidget) → Widget -
createElement(
) → ConsumerStatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _ConsumerState -
Creates the mutable state for this widget at a given 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
-
disableTextScaling(
BuildContext context, ValueCopyWith< MediaQueryData> copyWith) → Widget -
ifShow(
bool show) → Widget -
ifTrue(
bool value, Widget trueWidget, [Duration? duration]) → Widget -
Available on Widget, provided by the WidgetExt extension
如果value
为true, 则展示trueWidget,否则展示为本身this -
loading(
bool value) → Widget -
longClick(
{required VoidCallback onLongPress}) → Widget -
margin(
double v) → Widget -
marginOnly(
{double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) → Widget -
maxHeight(
double height) → Widget -
maxWidth(
double width) → Widget -
minHeight(
double height) → Widget -
minWidth(
double width) → Widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padding(
double v) → Widget -
paddingOnly(
{double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) → Widget -
paddingWithObj(
EdgeInsets edgeInsets) → Widget -
sizeBox(
double w, double h) → Widget -
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
-
visible(
bool value) → Widget -
visibleOrNull(
bool value) → Widget? -
width(
double size) → Widget
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited