| Property/Callback | Description |
|---|---|
onTapDown |
OnTapDown is fired everytime the user makes contact with the screen. |
onTapUp |
When the user stops touching the screen, onTapUp is called. |
onTap |
When the screen is briefly touched, onTap is triggered. |
onTapCancel |
When a user touches the screen but does not complete the Tap, this event is fired. |
onDoubleTap |
onDoubleTap is called when the screen is touched twice in quick succession. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "configurations": [ | |
| { | |
| "name": "Win32", | |
| "includePath": [ | |
| "${workspaceFolder}/**" | |
| ], | |
| "defines": [ | |
| "_DEBUG", | |
| "UNICODE", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:io'; | |
| void main() { | |
| TestHttpServer().createHttpServer(); | |
| } | |
| class TestHttpServer { | |
| HttpServer server; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| class PageViewIndicator extends StatefulWidget { | |
| PageViewIndicator({ | |
| this.controller, | |
| this.pageCount, | |
| this.color: Colors.lightBlueAccent, | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/gestures.dart'; | |
| import 'package:flutter/material.dart'; | |
| //Main function. The entry point for your Flutter app. | |
| void main() { | |
| runApp( | |
| MaterialApp( | |
| home: Scaffold( | |
| body: DemoApp(), | |
| ), |
NewerOlder