Icomoon class
A comprehensive collection of custom icons from the Icomoon font package for CulicidaeLab.
This class provides static constant definitions for custom icons specifically designed for the CulicidaeLab application. All icons are vector-based, scalable, and optimized for the entomology and disease research domain.
Icon Design Philosophy
The custom icons in this collection are designed to:
- Domain-Specific: Represent mosquitoes and related concepts accurately
- Scalable: Work well at different sizes from 16px to 64px+
- Consistent: Maintain visual consistency with Material Design principles
- Accessible: Provide clear visual representation for all users
- Professional: Suitable for scientific and educational contexts
Font Configuration
To use these icons, ensure the Icomoon font is properly configured in pubspec.yaml:
flutter:
fonts:
- family: icomoon
fonts:
- asset: assets/fonts/icomoon.ttf
Usage Examples
// Basic icon usage
Icon(Icomoon.mosquitoB)
// Styled icon with size and color
Icon(
Icomoon.mosquitoT,
size: 32.0,
color: Colors.teal,
)
// In navigation or buttons
BottomNavigationBarItem(
icon: Icon(Icomoon.mosquitoB),
label: 'Gallery',
)
// As decorative elements
CircleAvatar(
backgroundColor: Colors.teal.shade100,
child: Icon(
Icomoon.mosquitoT,
color: Colors.teal.shade800,
),
)
Performance Considerations
- Vector-based: Icons scale without quality loss
- Font-based: Efficient rendering and caching
- Single Font File: Minimal app size impact
- GPU Accelerated: Smooth rendering on all devices
Accessibility
When using these icons, consider:
- Providing semantic labels for screen readers
- Ensuring sufficient color contrast
- Using appropriate sizes for touch targets
- Adding tooltips for icon-only buttons
See also:
- IconData for the underlying Flutter icon implementation
- Material Design icon guidelines
- Icomoon.io for icon font generation
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