mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-24 16:30:40 +00:00
18 lines
589 B
Dart
18 lines
589 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
import 'package:lightmeter/data/permissions_service.dart';
|
|
import 'package:lightmeter/screens/permissions_check/screen_permissions_check.dart';
|
|
|
|
import 'bloc_permissions_check.dart';
|
|
|
|
class PermissionsCheckFlow extends StatelessWidget {
|
|
const PermissionsCheckFlow({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return BlocProvider(
|
|
create: (context) => PermissionsCheckBloc(context.read<PermissionsService>()),
|
|
child: const PermissionsCheckScreen(),
|
|
);
|
|
}
|
|
}
|