git-touch-android-ios-app/lib/widgets/branch_name.dart

18 lines
403 B
Dart

import 'package:antd_mobile/antd_mobile.dart';
import 'package:flutter/widgets.dart';
class BranchName extends StatelessWidget {
const BranchName(this.name, {super.key});
final String name;
@override
Widget build(BuildContext context) {
return AntTag(
fill: AntTagFill.outline,
color: AntTheme.of(context).colorPrimary,
round: true,
child: Text(name),
);
}
}