MenuBoardData<T> class
Constructors
-
MenuBoardData({required MenuItem<
T> parent, required List<MenuItem< children})T> > -
const
Properties
Methods
-
disableChildren(
[List< int> indexes = const []]) → MenuBoardData<T> -
if
indexesis empty -> apply for all children -
disableParent(
) → MenuBoardData< T> -
enableChildren(
[List< int> indexes = const []]) → MenuBoardData<T> -
if
indexesis empty -> apply for all children -
enableParent(
) → MenuBoardData< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
updateChildren(
List< MenuItem< children) → MenuBoardData<T> >T> -
updateParent(
MenuItem< T> parent) → MenuBoardData<T>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited