You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
442 B
24 lines
442 B
2 years ago
|
part of '../neon.dart';
|
||
3 years ago
|
|
||
|
class TextSettingsTile extends SettingsTile {
|
||
|
const TextSettingsTile({
|
||
|
required this.text,
|
||
|
this.style,
|
||
|
super.key,
|
||
|
});
|
||
|
|
||
|
final String text;
|
||
|
final TextStyle? style;
|
||
|
|
||
|
@override
|
||
|
Widget build(final BuildContext context) => Container(
|
||
|
padding: const EdgeInsets.symmetric(
|
||
|
horizontal: 16,
|
||
|
),
|
||
|
child: Text(
|
||
|
text,
|
||
|
style: style,
|
||
|
),
|
||
|
);
|
||
|
}
|