import 'package:flutter/material.dart'; class BrandSwitch extends StatelessWidget { const BrandSwitch({ required this.onChanged, required this.value, final super.key, }); final ValueChanged onChanged; final bool value; @override Widget build(final BuildContext context) => Switch( activeColor: Theme.of(context).colorScheme.primary, value: value, onChanged: onChanged, ); }