This demo shows how easy it is to create beautiful sliding and 3D effects using Flutter's AnimatedContainer
class and it's transform
property.
For this demo we had to create our own visual touch response class, similar to React Native's TouchableOpacity. We will be creating a flutter library out of it very soon, but for now you can simply copy and paste it from components/tap_opacity.dart
file.
- Install Flutter
- Open Android Studio or VS Code
- Build and run the app on an emulator or a real device
3D Touch is available under the MIT license. See the LICENSE file for more info.