Folders cleanup

This commit is contained in:
Vadim 2023-01-29 20:02:18 +03:00
parent 9ffb5112c1
commit cb4e91cb0a
8 changed files with 10 additions and 10 deletions

View file

@ -14,7 +14,7 @@ import 'data/shared_prefs_service.dart';
import 'environment.dart';
import 'generated/l10n.dart';
import 'providers/ev_source_type_provider.dart';
import 'res/theme.dart';
import 'providers/theme_provider.dart';
import 'screens/metering/flow_metering.dart';
import 'screens/settings/flow_settings.dart';
import 'utils/stop_type_provider.dart';

View file

@ -9,6 +9,7 @@ class Dimens {
static const double grid8 = 8;
static const double grid16 = 16;
static const double grid24 = 24;
static const double grid48 = 48;
static const double grid56 = 56;
static const double grid168 = 168;

View file

@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:lightmeter/res/dimens.dart';
import 'shared/widget_circle_filled.dart';
import 'package:lightmeter/screens/metering/components/bottom_controls/components/shared/widget_circle_filled.dart';
class MeteringMeasureButton extends StatefulWidget {
final double size;

View file

@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'shared/widget_circle_filled.dart';
import 'package:lightmeter/res/dimens.dart';
import 'package:lightmeter/screens/metering/components/bottom_controls/components/shared/widget_circle_filled.dart';
class MeteringSecondaryButton extends StatelessWidget {
final IconData icon;
@ -17,7 +17,7 @@ class MeteringSecondaryButton extends StatelessWidget {
return Center(
child: FilledCircle(
color: Theme.of(context).colorScheme.surfaceVariant,
size: 48,
size: Dimens.grid48,
child: Center(
child: IconButton(
onPressed: onPressed,

View file

@ -3,8 +3,8 @@ import 'package:lightmeter/data/models/ev_source_type.dart';
import 'package:lightmeter/res/dimens.dart';
import 'package:provider/provider.dart';
import 'components/widget_button_measure.dart';
import 'components/widget_button_secondary.dart';
import 'components/measure_button/widget_button_measure.dart';
import 'components/secondary_button/widget_button_secondary.dart';
class MeteringBottomControls extends StatelessWidget {
final VoidCallback? onSwitchEvSourceType;

View file

@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:lightmeter/data/models/dynamic_colors_state.dart';
import 'package:lightmeter/generated/l10n.dart';
import 'package:lightmeter/res/theme.dart';
import 'package:lightmeter/providers/theme_provider.dart';
class DynamicColorListTile extends StatelessWidget {
const DynamicColorListTile({super.key});

View file

@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:lightmeter/data/models/theme_type.dart';
import 'package:lightmeter/generated/l10n.dart';
import 'package:lightmeter/res/theme.dart';
import 'package:lightmeter/providers/theme_provider.dart';
import 'package:lightmeter/screens/settings/components/shared/dialog_picker.dart/widget_dialog_picker.dart';
import 'package:provider/provider.dart';