engine library

iEngine.dart

📦 This file is the main entry point of the iEngine framework. It initializes Flutter bindings, sets up shared preferences, and starts the app. It also re-exports core utilities such as preferences, extensions, and canvas rendering.

Classes

ICanvas
A widget that hosts a custom painting canvas driven by an IPainter.
IEngine
The main class for initializing and running a Flutter app using iEngine.
IPainter
Abstract base class for implementing custom painters used in ICanvas.
Prefs
A singleton-style utility class for accessing SharedPreferences in a simplified way.

Extensions

ColorUtils on Color
Extension on Color to provide brightness adjustment utilities.
ContextExtensions on BuildContext
Extension on BuildContext to provide responsive layout helpers based on screen size and orientation.
NumRangeCheck on num
Extension on num to add range checking capabilities.
ObjectExtension on Object
This file: extensions.dart
PathExtension on Path
Extension on Path to provide smooth curve utilities.
StringExtension on String
An extension on String that adds utility methods for network operations.

Properties

isAndroid → bool
Returns true if running on an Android device.
no setter
isIOS → bool
Returns true if running on an iOS device.
no setter
isLinux → bool
Returns true if running on a Linux desktop system.
no setter
isMacOS → bool
Returns true if running on a macOS desktop system.
no setter
isWeb → bool
Returns true if the current platform is a web environment.
no setter
isWindows → bool
Returns true if running on a Windows desktop system.
no setter