• Hixie's avatar
    Route refactor · 6e371875
    Hixie authored
    - Removed the concept of ephemeral routes.
    - Renamed the two _MenuRoutes to _PopupMenuRoute and _DropDownRoute.
    - Added type arguments in various places:
      - DropDownMenu
      - _DropDownRoute
      - _ModalBottomSheetRoute
      - PopupMenuItem
      - _PopupMenu
      - _PopupMenuRoute
    - Made _ModalBottomSheetRoute, the two ex _MenuRoutes, and _DialogRoute
      all inherit from ModalRoute, via PopupRoute.
    - Change "Dropdown" and "DropDown" to "DropDown" consistently.
    - Made MaterialPageRoute inherit from PageRoute.
    - Made ModalBarrier not create a box if it's always transparent.
    - Exposed the Futures on TransitionRoutes.
    - Fixed that menus were no longer dismissable by tapping the modal
      barrier.
    6e371875
popup_menu_item.dart 823 Bytes