SectionTile class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SectionTile
Constructors
- SectionTile({Key? key, String? titleText, Widget? icon, VoidCallback? onTap, Color? color, Widget? title, Widget? subTitle, Widget? trailing, bool dense = false})
-
const
-
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
-
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.
no setterinherited
- icon → Widget?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onTap → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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.
inherited
Static Methods
-
dropdownButton<
T> ({Key? key, required String titleText, String? subTitle, Icon? icon, required Color color, List< T> ? items, List<DropdownMenuItem< ? dropdownMenuItems, ValueSetter<T> >T?> ? onChanged, T? value, bool isDense = false, bool isExpanded = false, double? itemHeight = kMinInteractiveDimension, Color? focusColor, FocusNode? focusNode, bool autofocus = false, Color? dropdownColor, bool dense = false}) → SectionTile -
popupMenuButton<
T> ({Key? key, required String titleText, String? subTitle, List< T> ? items, Icon? icon, Icon? popupIcon, VoidCallback? onCanceled, required Color color, List<PopupMenuEntry< itemBuilder(BuildContext)?, T? initialValue, ValueSetter<T> >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