SnackEvent class

Inheritance

Constructors

SnackEvent({required Color color, required String title, Color foregroundColor = Colors.white, String? description, Duration duration = const Duration(seconds: 5), List<SnackAction> actions = const [], bool unique = false, SnackEventHapticType? hapticType, VoidCallback? onTap})

Properties

actions List<SnackAction>
final
color Color
final
description String?
final
duration Duration
final
foregroundColor Color
final
hapticType SnackEventHapticType?
final
hashCode int
The hash code for this object.
no setteroverride
onTap VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final
unique bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object? other) bool
The equality operator.
override