File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
lib/app_configuration/view Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -721,40 +721,6 @@ class _AppConfigurationPageState extends State<AppConfigurationPage>
721721 );
722722 }
723723
724- Widget _buildSwitchField (
725- BuildContext context, {
726- required String label,
727- required String description,
728- required bool value,
729- required ValueChanged <bool > onChanged,
730- }) {
731- return Padding (
732- padding: const EdgeInsets .symmetric (vertical: AppSpacing .sm),
733- child: Column (
734- crossAxisAlignment: CrossAxisAlignment .start,
735- children: [
736- Text (
737- label,
738- style: Theme .of (context).textTheme.titleMedium,
739- ),
740- const SizedBox (height: AppSpacing .xs),
741- Text (
742- description,
743- style: Theme .of (context).textTheme.bodySmall? .copyWith (
744- color: Theme .of (context).colorScheme.onSurface.withOpacity (0.7 ),
745- ),
746- ),
747- SwitchListTile (
748- title: Text (label),
749- value: value,
750- onChanged: onChanged,
751- contentPadding: EdgeInsets .zero,
752- ),
753- ],
754- ),
755- );
756- }
757-
758724 Widget _buildDropdownField <T >(
759725 BuildContext context, {
760726 required String label,
You can’t perform that action at this time.
0 commit comments