Skip to content

Commit

Permalink
Add offline mode related doc. (flutter#7686)
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c committed May 7, 2024
1 parent 189de09 commit 2bd5fe3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/devtools_app/lib/src/shared/offline_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ class OfflineDataController {
/// If it is true, the screen should ignore the connected application and just show
/// the offline data.
///
/// If a screen controller (A) is created for offline mode while another
/// instance of this screen controller (B) exists for interacting
/// with the current DevTools connection, screen controller (B) should
/// continue to work as it normally would in the background. This will
/// ensure that the user can return to what they were looking at
/// previously before entering offline mode to view offline data.
///
/// Example:
///
/// class MyScreenController with OfflineScreenControllerMixin<MyScreenData> {
Expand Down

0 comments on commit 2bd5fe3

Please sign in to comment.