m3_lightmeter/lib/screens/film_edit/flow_film_edit.dart

20 lines
588 B
Dart
Raw Normal View History

2024-10-21 10:22:25 +00:00
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:lightmeter/screens/film_edit/bloc_film_edit.dart';
import 'package:lightmeter/screens/film_edit/screen_film_edit.dart';
import 'package:m3_lightmeter_resources/m3_lightmeter_resources.dart';
class FilmEditFlow extends StatelessWidget {
final FilmExponential? film;
2024-10-21 10:22:25 +00:00
const FilmEditFlow({this.film, super.key});
2024-10-21 10:22:25 +00:00
@override
Widget build(BuildContext context) {
return BlocProvider(
create: (_) => FilmEditBloc(film),
child: const FilmEditScreen(),
);
}
}