SnackBarStyle class

نمط مخصص للـ SnackBar

Constructors

SnackBarStyle({Color? backgroundColor, TextStyle? textStyle, Duration? duration, SnackBarBehavior? behavior, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? borderRadius, double? elevation, Color? actionTextColor, bool? enabled})
const
SnackBarStyle.defaults({required bool isDark, required BuildContext context})
factory

Properties

actionTextColor Color?
final
backgroundColor Color?
final
behavior SnackBarBehavior?
final
borderRadius double?
final
duration Duration?
final
elevation double?
final
enabled bool?
تمكين/تعطيل إظهار SnackBar
final
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsetsGeometry?
final
padding EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
final

Methods

copyWith({Color? backgroundColor, TextStyle? textStyle, Duration? duration, SnackBarBehavior? behavior, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? borderRadius, double? elevation, Color? actionTextColor, bool? enabled}) SnackBarStyle
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.
inherited