Inheritance
System.Object
KeyedSubtree
public class KeyedSubtree : StatelessWidget
Constructors
Declaration
public KeyedSubtree(Key key, Widget child = null)
Parameters
Fields
Declaration
public readonly Widget child
Field Value
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides
Declaration
public static List<Widget> ensureUniqueKeysForList(IEnumerable<Widget> items, int baseIndex = 0)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Widget> |
items |
|
System.Int32 |
baseIndex |
|
Returns
Type |
Description |
System.Collections.Generic.List<Widget> |
|
Declaration
public static KeyedSubtree wrap(Widget child, int childIndex)
Parameters
Type |
Name |
Description |
Widget |
child |
|
System.Int32 |
childIndex |
|
Returns