コード例 #1
0
 private void changeItemType(_ReorderableListType type)
 {
     setState(() => { _itemType = type; });
     // Rebuild the bottom sheet to reflect the selected list view.
     _bottomSheet?.setState(() =>
     {
         // Trigger a rebuild.
     });
     // Close the bottom sheet to give the user a clear view of the list.
     _bottomSheet?.close();
 }
コード例 #2
0
 private void changeItemType(_MaterialListType type)
 {
     setState(() => { _itemType = type; });
     _bottomSheet?.setState(() => { });
 }