24 lines
440 B
Dart
24 lines
440 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AIAvatar extends StatelessWidget {
|
|
final double width;
|
|
final double height;
|
|
|
|
const AIAvatar({
|
|
super.key,
|
|
this.width = 120,
|
|
this.height = 140,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(
|
|
width: width,
|
|
height: height,
|
|
child: Image.asset(
|
|
'assets/images/avatar.png',
|
|
fit: BoxFit.contain,
|
|
),
|
|
);
|
|
}
|
|
} |