28 lines
622 B
Dart
28 lines
622 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
import 'package:flutter_svg/svg.dart';
|
||
|
import 'package:match_magic/styles/styles.dart';
|
||
|
import 'package:match_magic/utilities/assets.dart';
|
||
|
|
||
|
class ArrowLeftIcon extends StatelessWidget {
|
||
|
const ArrowLeftIcon({
|
||
|
Key? key,
|
||
|
this.width = 24,
|
||
|
this.height = 24,
|
||
|
this.color,
|
||
|
}) : super(key: key);
|
||
|
|
||
|
final double width;
|
||
|
final double height;
|
||
|
final Color? color;
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return SvgPicture.asset(
|
||
|
Assets.svg.arrowLeft,
|
||
|
width: width,
|
||
|
height: height,
|
||
|
color: AppStyles.accentColorTopBar,
|
||
|
);
|
||
|
}
|
||
|
}
|