Skip to content

Commit e9ba35c

Browse files
committed
feat: update animations init for bottom and top display
1 parent 39e9e56 commit e9ba35c

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

example/android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ gradle-wrapper.jar
22
/.gradle
33
/captures/
44
/gradlew
5+
/app/.cxx
56
/gradlew.bat
67
/local.properties
78
GeneratedPluginRegistrant.java

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ plugins {
88

99
android {
1010
namespace = "com.example.example"
11-
compileSdk = 34
12-
ndkVersion = "27.0.12077973"
11+
compileSdk = flutter.compileSdkVersion
12+
ndkVersion = flutter.ndkVersion
1313

1414
compileOptions {
1515
sourceCompatibility = JavaVersion.VERSION_1_8

example/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class _HomePageState extends State<HomePage> {
219219

220220
void _displaySuccessMotionToast() {
221221
MotionToast toast = MotionToast.success(
222+
animationType: AnimationType.slideInFromBottom,
222223
description: const Text(
223224
'This is a description example',
224225
style: TextStyle(fontSize: 12),

0 commit comments

Comments
 (0)