AsukaSnackbar.info constructor Null safety

AsukaSnackbar.info(
  1. String content,
  2. {Key? key,
  3. SnackBarAction? snackBarAction}
)

Creates a subclass of AsukaSnackbar called AsukaSnackbar.Info passing the key, content, setting the color to Color(0xff3196DA), an action and the icon to Icons.help. This AsukaSnackbar was created to with the purpose of supply the user with an info Snackbar.

Example:

ElevatedButton(
onPressed: () {
  asuka.AsukaSnackbar.info("Info").show();
},
child: const Text("Show Info"),
)

This code generates an ElevatedButton, when pressed, it calls asuka.AsukaSnackbar.info("Info").show()

Implementation

factory AsukaSnackbar.info(String content, {Key? key, SnackBarAction? snackBarAction}) =>
    AsukaSnackbar._(key, content, Color(0xff3196DA), action: snackBarAction, icon: Icons.help);