SectionTile class Null safety

Inheritance

Constructors

SectionTile({Key? key, String? titleText, Widget? icon, VoidCallback? onTap, Color? color, Widget? title, Widget? subTitle, Widget? trailing, bool dense = false})
const
SectionTile.button({Key? key, required String titleText, Icon? icon, required VoidCallback onTap, required Color color, String? subTitle, bool dense = false})
factory
SectionTile.checkbox({Key? key, required String titleText, String? subTitle, Icon? icon, required ValueChanged<bool?>? onChanged, required Color color, Color? activeColor, required bool value, bool dense = false})
factory
SectionTile.navigator({Key? key, required String titleText, Icon? icon, required VoidCallback onTap, required Color color, String? subTitle, bool dense = false})
factory
SectionTile.scrollWheelTimeSelector({Key? key, required String titleText, String? subTitle, Icon? icon, required ValueChanged<TimeOfDay?> onChanged, required Color color, bool dense = false})
factory
SectionTile.switchButton({Key? key, required String titleText, String? subTitle, Icon? icon, required ValueSetter<bool>? onChanged, required Color color, Color? activeColor, required bool switchButtonValue, bool dense = false})
factory

Properties

color Color?
final
dense bool
final
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
icon Widget?
final
key Key?
Controls how one widget replaces another widget in the tree. [...]
final, inherited
onTap VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subTitle Widget?
final
title Widget?
final
titleText String?
final
trailing Widget?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget. [...]
override
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. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
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}) 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

Operators

operator ==(Object other) bool
The equality operator. [...]
@nonVirtual, inherited

Static Methods

popupMenuButton<T>({Key? key, required String titleText, String? subTitle, List<T>? items, Icon? icon, Icon? popupIcon, VoidCallback? onCanceled, required Color color, List<PopupMenuEntry<T>> itemBuilder(BuildContext)?, T? initialValue, ValueSetter<T>? onSelected, String? tooltip, double? elevation, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0), Offset offset = Offset.zero, bool enabled = true, ShapeBorder? shape, Color? popUpColor, bool? enableFeedback, bool dense = false}) SectionTile
scrollWheel<T>({Key? key, required String titleText, String? subTitle, Icon? icon, required List<T> items, Duration? notificationDelay, required ValueSetter<T> onChange, TextStyle? textStyle, required Color color, double itemExtent = 20, double magnification = 1.2, bool useMagnifier = true, double diameterRatio = RenderListWheelViewport.defaultDiameterRatio, required double width, double height = 60, bool dense = false}) SectionTile
scrollWheelInfinite<T>({Key? key, required String titleText, String? subTitle, Icon? icon, required List<T> items, Duration? notificationDelay, required ValueSetter<T> onChange, TextStyle? textStyle, required Color color, double itemExtent = 20, double magnification = 1.2, bool useMagnifier = true, double diameterRatio = RenderListWheelViewport.defaultDiameterRatio, required double width, double height = 60, bool dense = false}) SectionTile