DefaultSelectionStyle.fallback constructor
- Key? key,
A const-constructable default selection style that provides fallback values (null).
Returned from of when the given BuildContext doesn't have an enclosing default selection style.
This constructor creates a DefaultTextStyle with an invalid child, which means the constructed value cannot be incorporated into the tree.
Implementation
const DefaultSelectionStyle.fallback({ super.key })
: cursorColor = null,
selectionColor = null,
mouseCursor = null,
super(child: const _NullWidget());