IconClass class
Esta clase proporciona métodos estáticos para crear diferentes tipos de iconos
con Tooltips, como Icon
, IconButton
e IconButton
con imágenes.
Los iconos y botones tienen una personalización básica para sus tamaños y mensajes de Tooltips. Se utiliza la internacionalización para mostrar los textos correspondientes.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
iconButton(
BuildContext context, dynamic function()?, String tooltip, IconData icon, [Color? colors = AppColors.darkPurpleColor, double? size, EdgeInsetsGeometry? padding]) → IconButton -
Crea un
IconButton
con un Tooltip. -
iconButtonImage(
BuildContext context, VoidCallback function, String filePath, String messageKey, [double? size]) → Tooltip -
Crea un
IconButton
con una imagen como ícono, y un Tooltip asociado. -
iconMaker(
BuildContext context, IconData icon, String messageKey, [double? size = 25, Color color = AppColors.darkPurpleColor]) → Tooltip - Crea un icono con un Tooltip asociado.