We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7699f2 commit a841e57Copy full SHA for a841e57
packages/apidash_design_system/lib/widgets/snackbar.dart
@@ -3,9 +3,11 @@ import 'package:flutter/material.dart';
3
SnackBar getSnackBar(
4
String text, {
5
bool small = true,
6
+ Color? color,
7
}) {
8
return SnackBar(
9
width: small ? 300 : 500,
10
+ backgroundColor: color,
11
behavior: SnackBarBehavior.floating,
12
content: Text(
13
text,
0 commit comments