add alot
This commit is contained in:
@@ -210,7 +210,7 @@ class _PinDots extends StatelessWidget {
|
||||
shape: BoxShape.circle,
|
||||
color: isFilled ? scheme.primary : Colors.transparent,
|
||||
border: Border.all(
|
||||
color: isFilled ? scheme.primary : scheme.onSurface.withOpacity(0.3),
|
||||
color: isFilled ? scheme.primary : scheme.onSurface.withValues(alpha: 0.3),
|
||||
width: 1.4,
|
||||
),
|
||||
),
|
||||
@@ -305,21 +305,21 @@ class _KeypadButton extends StatelessWidget {
|
||||
width: 72,
|
||||
height: 72,
|
||||
child: Material(
|
||||
color: scheme.onSurface.withOpacity(0.04),
|
||||
color: scheme.onSurface.withValues(alpha: 0.04),
|
||||
shape: const CircleBorder(),
|
||||
child: InkWell(
|
||||
customBorder: const CircleBorder(),
|
||||
onTap: onTap,
|
||||
child: Center(
|
||||
child: icon != null
|
||||
? Icon(icon, color: scheme.onSurface.withOpacity(0.8))
|
||||
? Icon(icon, color: scheme.onSurface.withValues(alpha: 0.8))
|
||||
: Text(
|
||||
label!,
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: onTap == null
|
||||
? scheme.onSurface.withOpacity(0.3)
|
||||
? scheme.onSurface.withValues(alpha: 0.3)
|
||||
: scheme.onSurface,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user