adguard-home-manager/lib/screens/settings/section_label.dart

29 lines
600 B
Dart
Raw Normal View History

2022-09-27 15:43:52 +02:00
import 'package:flutter/material.dart';
class SectionLabel extends StatelessWidget {
final String label;
const SectionLabel({
Key? key,
required this.label
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.all(25),
child: Text(
label,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 16
),
),
),
],
);
}
}