Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
dashboard_card.dart File Reference
import package;
import material.dart;
import flutter_screenutil.dart;
import go_router.dart;
import dart;
import as;
import math;
Include dependency graph for dashboard_card.dart:

Go to the source code of this file.

Classes

class  StatefulWidget
class  CustomPainter

Functions

override void initState ()
override void dispose ()
void _handleTapDown (TapDownDetails details)
void _handleTapUp (TapUpDetails details)
void _handleTapCancel ()
override Widget build (BuildContext context)
 DashboardItem ({ required this.title, required this.icon, required this.color, this.subtitle, this.path, this.isEnabled, this.onTap, })

Variables

class DashboardCard extends StatefulWidget _controller
late Animation< double > _scaleAnimation
bool _isPressed = false
class CircularProgressPainter extends CustomPainter title
final IconData icon
final Color color
final String subtitle
final String path
final bool isEnabled
final VoidCallback onTap

Function Documentation

◆ _handleTapCancel()

void _handleTapCancel ( )

Definition at line 67 of file dashboard_card.dart.

Here is the caller graph for this function:

◆ _handleTapDown()

void _handleTapDown ( TapDownDetails details)

Definition at line 47 of file dashboard_card.dart.

Here is the caller graph for this function:

◆ _handleTapUp()

void _handleTapUp ( TapUpDetails details)

Definition at line 54 of file dashboard_card.dart.

Here is the caller graph for this function:

◆ build()

override Widget build ( BuildContext context)

Definition at line 73 of file dashboard_card.dart.

Here is the call graph for this function:

◆ DashboardItem()

DashboardItem ( { required this.title, required this.icon, required this.color, this.subtitle, this.path, this.isEnabled, this.onTap, } )

◆ dispose()

override void dispose ( )

Definition at line 42 of file dashboard_card.dart.

◆ initState()

override void initState ( )

Definition at line 27 of file dashboard_card.dart.

Variable Documentation

◆ _controller

class DashboardCard extends StatefulWidget _controller

◆ _isPressed

bool _isPressed = false

Definition at line 24 of file dashboard_card.dart.

◆ _scaleAnimation

late Animation<double> _scaleAnimation

Definition at line 23 of file dashboard_card.dart.

◆ color

final Color color

Definition at line 229 of file dashboard_card.dart.

◆ icon

final IconData icon

Definition at line 228 of file dashboard_card.dart.

◆ isEnabled

final bool isEnabled

Definition at line 232 of file dashboard_card.dart.

◆ onTap

final VoidCallback onTap

Definition at line 233 of file dashboard_card.dart.

◆ path

final String path

Definition at line 231 of file dashboard_card.dart.

◆ subtitle

final String subtitle

Definition at line 230 of file dashboard_card.dart.

◆ title

class CircularProgressPainter extends CustomPainter title