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.
18 lines
547 B
18 lines
547 B
3 years ago
|
import 'package:bytedesk_kefu/blocs/ticket_bloc/ticket_bloc.dart';
|
||
|
import 'package:bytedesk_kefu/ui/ticket/page/ticket_page.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||
|
|
||
|
class TicketProvider extends StatelessWidget {
|
||
|
final String? uid;
|
||
|
const TicketProvider({Key? key, @required this.uid}) : super(key: key);
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return BlocProvider(
|
||
|
create: (BuildContext context) => TicketBloc(),
|
||
|
child: TicketPage(uid: this.uid),
|
||
|
);
|
||
|
}
|
||
|
}
|