You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
686 B
22 lines
686 B
3 years ago
|
import 'package:bytedesk_kefu/blocs/feedback_bloc/bloc.dart';
|
||
|
import 'package:bytedesk_kefu/model/helpCategory.dart';
|
||
|
import 'package:bytedesk_kefu/ui/feedback/page/feedback_submit_page.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||
|
|
||
|
class FeedbackSubmitProvider extends StatelessWidget {
|
||
|
final HelpCategory? helpCategory;
|
||
|
const FeedbackSubmitProvider({Key? key, this.helpCategory}) : super(key: key);
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
//
|
||
|
return BlocProvider(
|
||
|
create: (BuildContext context) => FeedbackBloc(),
|
||
|
child: FeedbackSubmitPage(
|
||
|
helpCategory: helpCategory,
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|