MultiSelectableSelectionContainerDelegate documentation fixes. (#147843)
Minor grammatical fixes to MultiSelectableSelectionContainerDelegate: * Removed plural words describing a singular subject. * Removed redundant language. * Elaborated on the behavior of `ensureChildUpdated`. No issue was filed this was a minor rewording.
This commit is contained in:
parent
d4b2e5d705
commit
d5f70135fe
@ -1761,14 +1761,12 @@ class _SelectableRegionContainerDelegate extends MultiSelectableSelectionContain
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An abstract base class for updating multiple [Selectable] children.
|
/// A delegate that handles events and updates for multiple [Selectable]
|
||||||
|
/// children.
|
||||||
///
|
///
|
||||||
/// This class provide basic [SelectionEvent] handling and child [Selectable]
|
/// Updates are optimized by tracking which [Selectable]s reside on the edges of
|
||||||
/// updating. The subclass needs to implement [ensureChildUpdated] to ensure
|
/// a selection. Subclasses should implement [ensureChildUpdated] to describe
|
||||||
/// child [Selectable] is updated properly.
|
/// how a [Selectable] should behave when added to a selection.
|
||||||
///
|
|
||||||
/// This class optimize the selection update by keeping track of the
|
|
||||||
/// [Selectable]s that currently contain the selection edges.
|
|
||||||
abstract class MultiSelectableSelectionContainerDelegate extends SelectionContainerDelegate with ChangeNotifier {
|
abstract class MultiSelectableSelectionContainerDelegate extends SelectionContainerDelegate with ChangeNotifier {
|
||||||
/// Creates an instance of [MultiSelectableSelectionContainerDelegate].
|
/// Creates an instance of [MultiSelectableSelectionContainerDelegate].
|
||||||
MultiSelectableSelectionContainerDelegate() {
|
MultiSelectableSelectionContainerDelegate() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user