Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions lib/motion_toast.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ class MotionToast extends StatefulWidget {
),
this.animationCurve = Curves.ease,
this.toastAlignment = Alignment.bottomCenter,
@Deprecated('Use toastAlignment instead')
this.position = MotionToastPosition.bottom,
this.borderRadius = 20,
this.onClose,
this.dismissable = true,
Expand Down Expand Up @@ -88,8 +86,6 @@ class MotionToast extends StatefulWidget {
),
this.animationCurve = Curves.ease,
this.toastAlignment = Alignment.bottomCenter,
@Deprecated('Use toastAlignment instead')
this.position = MotionToastPosition.bottom,
this.borderRadius = 20,
this.onClose,
this.dismissable = true,
Expand Down Expand Up @@ -132,8 +128,6 @@ class MotionToast extends StatefulWidget {
),
this.animationCurve = Curves.ease,
this.toastAlignment = Alignment.bottomCenter,
@Deprecated('Use toastAlignment instead')
this.position = MotionToastPosition.bottom,
this.borderRadius = 20,
this.onClose,
this.dismissable = true,
Expand Down Expand Up @@ -176,8 +170,6 @@ class MotionToast extends StatefulWidget {
),
this.animationCurve = Curves.ease,
this.toastAlignment = Alignment.bottomCenter,
@Deprecated('Use toastAlignment instead')
this.position = MotionToastPosition.bottom,
this.borderRadius = 20,
this.onClose,
this.dismissable = true,
Expand Down Expand Up @@ -220,8 +212,6 @@ class MotionToast extends StatefulWidget {
),
this.animationCurve = Curves.ease,
this.toastAlignment = Alignment.bottomCenter,
@Deprecated('Use toastAlignment instead')
this.position = MotionToastPosition.bottom,
this.borderRadius = 20,
this.onClose,
this.dismissable = true,
Expand Down Expand Up @@ -267,8 +257,6 @@ class MotionToast extends StatefulWidget {
),
this.animationCurve = Curves.ease,
this.toastAlignment = Alignment.bottomCenter,
@Deprecated('Use toastAlignment instead')
this.position = MotionToastPosition.bottom,
this.borderRadius = 20,
this.onClose,
this.dismissable = true,
Expand Down Expand Up @@ -363,17 +351,6 @@ class MotionToast extends StatefulWidget {
/// by default it's `Curves.ease`
final Curve animationCurve;

/// The position where the motion toast will be displayed
/// possible values
/// ```dart
/// {
/// CENTER,
/// TOP,
/// BOTTOM
/// }
/// ```
final MotionToastPosition position;

/// The alignment of the toast on the screen
/// by default it's `Alignment.bottomCenter`.
final Alignment toastAlignment;
Expand Down