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

30 lines
647 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,
2022-10-02 19:24:11 +02:00
style: TextStyle(
2022-09-27 15:43:52 +02:00
fontWeight: FontWeight.w500,
2022-10-02 19:24:11 +02:00
fontSize: 16,
color: Theme.of(context).primaryColor
2022-09-27 15:43:52 +02:00
),
),
),
],
);
}
}