-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathintent.dart
More file actions
34 lines (27 loc) · 937 Bytes
/
Copy pathintent.dart
File metadata and controls
34 lines (27 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import 'package:flutter/widgets.dart';
import 'main.dart' show HomePage; // only used for documentation
/// An Intent to move focus into a search bar of a page.
/// The search bar used for this intent must serve the main functionality of
/// the screen. If there are multiple search bar present in one screen, this
/// should be only used on the search bar that is more important and relevant
/// to the context.
///
/// For example, the [HomePage] search bar located at the top.
class SearchBarFocusIntent extends Intent {
const SearchBarFocusIntent();
}
class NavigationPopIntent extends Intent {
const NavigationPopIntent();
}
class PlayVideoIntent extends Intent {
const PlayVideoIntent();
}
class ListenVideoIntent extends Intent {
const ListenVideoIntent();
}
class ScrollMoveTopIntent extends Intent{
const ScrollMoveTopIntent();
}
class ScrollMoveBottomIntent extends Intent{
const ScrollMoveBottomIntent();
}