https://github.com/allexcd/angulardart_custom_swipe
AngularDart Swipe Decorator
https://github.com/allexcd/angulardart_custom_swipe
Last synced: about 1 year ago
JSON representation
AngularDart Swipe Decorator
- Host: GitHub
- URL: https://github.com/allexcd/angulardart_custom_swipe
- Owner: allexcd
- License: bsd-3-clause
- Created: 2015-02-19T18:31:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-19T11:49:50.000Z (about 11 years ago)
- Last Synced: 2025-05-18T04:16:29.465Z (about 1 year ago)
- Language: Dart
- Size: 184 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angulardart_custom_swipe
AngularDart Swipe Decorator
Installation
-------------------------------
Add "angulardart_custom_swipe" in pubspec.yaml file:
```dart
dependencies:
angulardart_custom_swipe: any
```
then use pub to get the dependencies
How to use
--------------------------------
Import the module in your main.dart file
```dart
import 'package:angulardart_custom_swipe/angulardart_custom_swipe.dart';
```
Add custom swipe decorator to the list of modules
```dart
class AppModule extends Module {
AppModule() {
bind(customSwipe);
}
}
```
Use the decorator where you need it:
```dart
Swipe on this container
```
See examples provided on GitHub (https://github.com/allexcd/angulardart_custom_swipe).
Load them in Dart Editor or WebStorm and open them in default or Dartium browsers.