InAppIcon constructor
const
InAppIcon({})
Creates an instance of InAppIcon.
Parameters:
regular
: The path to the regular variant of the icon.solid
: The path to the solid variant of the icon.bold
: The path to the bold variant of the icon.package
: The package where the icons are located (default is "assets").path
: The path to the icons directory (default is "icons").
Implementation
const InAppIcon({
String? regular,
String? solid,
String? bold,
String package = "assets",
String path = "icons",
}) : regular = "$package/$path/${regular ?? bold ?? solid}",
solid = "$package/$path/${solid ?? bold ?? regular}",
bold = "$package/$path/${bold ?? solid ?? regular}";