[M3] Add customizable overflow property to Snackbar's action (#120394)
* add actionOverflowThreshold param * analyzer tings * https://www.youtube.com/watch?v=NPwyyjtxlzU * remove erroneous switch changes * rename test * remove unwanted switch.dart diff * remove redundant values * review changes
This commit is contained in:
@@ -67,6 +67,12 @@ class _${blockName}DefaultsM3 extends SnackBarThemeData {
|
||||
|
||||
@override
|
||||
bool get showCloseIcon => false;
|
||||
|
||||
@override
|
||||
Color? get closeIconColor => ${componentColor("$tokenGroup.icon")};
|
||||
|
||||
@override
|
||||
double get actionOverflowThreshold => 0.25;
|
||||
}
|
||||
''';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user