Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
io.flutter.plugin.platform.PlatformViewsControllerTest.ShadowPresentation Class Reference
Inheritance diagram for io.flutter.plugin.platform.PlatformViewsControllerTest.ShadowPresentation:

Public Member Functions

 ShadowPresentation ()
 

Protected Member Functions

void show ()
 
void dismiss ()
 
boolean isShowing ()
 

Detailed Description

The shadow class of Presentation to simulate Presentation showing logic.

Robolectric doesn't support VirtualDisplay creating correctly now, so this shadow class is used to simulate custom logic for Presentation.

Definition at line 1662 of file PlatformViewsControllerTest.java.

Constructor & Destructor Documentation

◆ ShadowPresentation()

io.flutter.plugin.platform.PlatformViewsControllerTest.ShadowPresentation.ShadowPresentation ( )
inline

Definition at line 1665 of file PlatformViewsControllerTest.java.

1665{}

Member Function Documentation

◆ dismiss()

void io.flutter.plugin.platform.PlatformViewsControllerTest.ShadowPresentation.dismiss ( )
inlineprotected

Definition at line 1673 of file PlatformViewsControllerTest.java.

1673 {
1674 isShowing = false;
1675 }

◆ isShowing()

boolean io.flutter.plugin.platform.PlatformViewsControllerTest.ShadowPresentation.isShowing ( )
inlineprotected

Definition at line 1678 of file PlatformViewsControllerTest.java.

1678 {
1679 return isShowing;
1680 }

◆ show()

void io.flutter.plugin.platform.PlatformViewsControllerTest.ShadowPresentation.show ( )
inlineprotected

Definition at line 1668 of file PlatformViewsControllerTest.java.

1668 {
1669 isShowing = true;
1670 }

The documentation for this class was generated from the following file: