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 {
|
2024-10-23 14:20:42 +00:00
|
|
|
final FilmExponential? film;
|
2024-10-21 10:22:25 +00:00
|
|
|
|
2024-10-23 14:20:42 +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(),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|