binder/binders library

Classes

Binder<T>
RadioGroupB

Functions

CheckboxB(Binder<bool?> binder, {Key? key, bool tristate = false, MouseCursor? mouseCursor, Color? activeColor, WidgetStateProperty<Color?>? fillColor, Color? checkColor, Color? focusColor, Color? hoverColor, WidgetStateProperty<Color?>? overlayColor, double? splashRadius, MaterialTapTargetSize? materialTapTargetSize, VisualDensity? visualDensity, FocusNode? focusNode, bool autofocus = false, OutlinedBorder? shape, BorderSide? side, bool isError = false, String? semanticLabel}) Checkbox
ChipCheckGroupB<T>(Binder<Set<T>> binder, {required Iterable<T> items, required OnWidget<T> onLabel, bool allowEmpty = true, Axis direction = Axis.horizontal, WrapAlignment alignment = WrapAlignment.start, double spacing = 8, WrapAlignment runAlignment = WrapAlignment.start, double runSpacing = 8, WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start, TextDirection? textDirection, VerticalDirection verticalDirection = VerticalDirection.down, Clip clipBehavior = Clip.none, Widget? avatar, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, double? pressElevation, Color? selectedColor = Colors.blueAccent, Color? disabledColor, String? tooltip, BorderSide? side, OutlinedBorder? shape, FocusNode? focusNode, bool autofocus = false, WidgetStateProperty<Color?>? color, Color? backgroundColor, EdgeInsetsGeometry? padding, VisualDensity? visualDensity}) Wrap
ChipRadioGroupB<T>(Binder<T?> binder, {required Iterable<T> items, required OnWidget<T> onLabel, bool allowEmpty = true, Axis direction = Axis.horizontal, WrapAlignment alignment = WrapAlignment.start, double spacing = 8, WrapAlignment runAlignment = WrapAlignment.start, double runSpacing = 8, WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start, TextDirection? textDirection, VerticalDirection verticalDirection = VerticalDirection.down, Clip clipBehavior = Clip.none, Widget? avatar, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, double? pressElevation, Color? selectedColor = Colors.blueAccent, Color? disabledColor, String? tooltip, BorderSide? side, OutlinedBorder? shape, FocusNode? focusNode, bool autofocus = false, WidgetStateProperty<Color?>? color, Color? backgroundColor, EdgeInsetsGeometry? padding, VisualDensity? visualDensity}) Wrap
SegmentsBind<T>(Binder<Set<T>> binder, {Key? key, required List<LabelValue<T>> items, bool multi = false, bool allowEmpty = true}) SegmentedButton<T>
SegmentsBindSingle<T>(Binder<T?> binder, {Key? key, required List<LabelValue<T>> items, bool allowEmpty = true}) SegmentedButton<T>
SegmentsBitsB(Binder<int> binder, {Key? key, required List<ButtonSegment<int>> segments, bool emptySelectionAllowed = true, ButtonStyle? style, bool showSelectedIcon = false, Widget? selectedIcon}) SegmentedButton<int>
SegmentsCheckB<T>(Binder<Set<T>> binder, {Key? key, required List<ButtonSegment<T>> segments, bool emptySelectionAllowed = true, ButtonStyle? style, bool showSelectedIcon = false, Widget? selectedIcon}) SegmentedButton<T>
SegmentsRadioB<T>(Binder<T?> binder, {Key? key, required List<ButtonSegment<T>> segments, bool emptySelectionAllowed = true, ButtonStyle? style, bool showSelectedIcon = false, Widget? selectedIcon}) SegmentedButton<T>
SwitchB(Binder<bool> binder, {Color? activeColor, Color? activeTrackColor, Color? inactiveThumbColor, Color? inactiveTrackColor, ImageProvider<Object>? activeThumbImage, void onActiveThumbImageError(Object, StackTrace?)?, ImageProvider<Object>? inactiveThumbImage, void onInactiveThumbImageError(Object, StackTrace?)?, WidgetStateProperty<Color?>? thumbColor, WidgetStateProperty<Color?>? trackColor, WidgetStateProperty<Color?>? trackOutlineColor, WidgetStateProperty<double?>? trackOutlineWidth, WidgetStateProperty<Icon?>? thumbIcon, MaterialTapTargetSize? materialTapTargetSize, DragStartBehavior dragStartBehavior = DragStartBehavior.start, MouseCursor? mouseCursor, Color? focusColor, Color? hoverColor, WidgetStateProperty<Color?>? overlayColor, double? splashRadius, FocusNode? focusNode, void onFocusChange(bool)?, bool autofocus = false}) Switch
TextFieldB(Binder<String> binder, {TextEditingController? controller, FocusNode? focusNode, UndoHistoryController? undoController, InputDecoration? decoration = const InputDecoration(), TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization textCapitalization = TextCapitalization.none, TextStyle? style, StrutStyle? strutStyle, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextDirection? textDirection, bool readOnly = false, bool? showCursor, bool autofocus = false, String obscuringCharacter = '•', bool obscureText = false, bool autocorrect = true, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool enableSuggestions = true, int? maxLines = 1, int? minLines, bool expands = false, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, void onChanged(String)?, void onEditingComplete()?, void onSubmitted(String)?, void onAppPrivateCommand(String, Map<String, dynamic>)?, List<TextInputFormatter>? inputFormatters, bool? enabled, double cursorWidth = 2.0, double? cursorHeight, Radius? cursorRadius, bool? cursorOpacityAnimates, Color? cursorColor, BoxHeightStyle selectionHeightStyle = BoxHeightStyle.tight, BoxWidthStyle selectionWidthStyle = BoxWidthStyle.tight, Brightness? keyboardAppearance, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool? enableInteractiveSelection, TextSelectionControls? selectionControls, void onTap()?, void onTapOutside(PointerDownEvent)?, MouseCursor? mouseCursor, Widget? buildCounter(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?, ScrollController? scrollController, ScrollPhysics? scrollPhysics, Iterable<String>? autofillHints = const <String>[], ContentInsertionConfiguration? contentInsertionConfiguration, Clip clipBehavior = Clip.hardEdge, String? restorationId, bool enableIMEPersonalizedLearning = true, Widget contextMenuBuilder(BuildContext, EditableTextState)? = _defaultContextMenuBuilder, bool canRequestFocus = true, SpellCheckConfiguration? spellCheckConfiguration, TextMagnifierConfiguration? magnifierConfiguration}) TextField

Typedefs

BinderCallback<T> = OnValue<Binder<T>>