aves/lib/widgets/common/identity/aves_logo.dart
2021-06-25 21:38:56 +09:00

26 lines
571 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class AvesLogo extends StatelessWidget {
final double size;
const AvesLogo({
Key? key,
required this.size,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return CircleAvatar(
backgroundColor: Colors.white,
radius: size / 2,
child: Padding(
padding: EdgeInsets.only(top: size / 15),
child: SvgPicture.asset(
'assets/aves_logo.svg',
width: size / 1.4,
),
),
);
}
}