develop-bloc #68
@@ -1,48 +0,0 @@
 | 
				
			|||||||
// import 'package:flutter/material.dart';
 | 
					 | 
				
			||||||
// import '../../../state/app/application/marianumMessage/marianum_message_controller.dart';
 | 
					 | 
				
			||||||
// import '../../../state/app/application/marianumMessage/marianum_message_state.dart';
 | 
					 | 
				
			||||||
// import '../../../state/infrastructure/loadable_state.dart';
 | 
					 | 
				
			||||||
// import '../../../state/infrastructure/state_extensions.dart';
 | 
					 | 
				
			||||||
// import '../../../state/widgets/controller_consumer.dart';
 | 
					 | 
				
			||||||
// import '../../../state/widgets/loadable_state_consumer.dart';
 | 
					 | 
				
			||||||
// import '../../../state/widgets/sub_selected_controller_consumer.dart';
 | 
					 | 
				
			||||||
// import '../../../state/widgets/controller_provider.dart';
 | 
					 | 
				
			||||||
//
 | 
					 | 
				
			||||||
// class Test extends StatelessWidget {
 | 
					 | 
				
			||||||
//   const Test({super.key});
 | 
					 | 
				
			||||||
//
 | 
					 | 
				
			||||||
//   @override
 | 
					 | 
				
			||||||
//   Widget build(BuildContext context) => ControllerProvider<MarianumMessageController>(
 | 
					 | 
				
			||||||
//       create: (context) => MarianumMessageController(),
 | 
					 | 
				
			||||||
//       child: (context) => Scaffold(
 | 
					 | 
				
			||||||
//         appBar: AppBar(title: const Text('TEST')),
 | 
					 | 
				
			||||||
//         body: ControllerConsumer<MarianumMessageController, MarianumMessageState>(
 | 
					 | 
				
			||||||
//           child: (context, state) => Column(
 | 
					 | 
				
			||||||
//             children: [
 | 
					 | 
				
			||||||
//               TextButton(
 | 
					 | 
				
			||||||
//                   onPressed: () => context.readController<MarianumMessageController>().someaction(),
 | 
					 | 
				
			||||||
//                   child: Text(context.watchController<MarianumMessageController>().state.toString())
 | 
					 | 
				
			||||||
//               ),
 | 
					 | 
				
			||||||
//               TextButton(
 | 
					 | 
				
			||||||
//                   onPressed: () => context.readController<MarianumMessageController>().backgroundLoading(),
 | 
					 | 
				
			||||||
//                   child: Text(context.watchController<MarianumMessageController>().state.toString())
 | 
					 | 
				
			||||||
//               ),
 | 
					 | 
				
			||||||
//               TextButton(
 | 
					 | 
				
			||||||
//                   onPressed: () => context.readController<MarianumMessageController>().done(),
 | 
					 | 
				
			||||||
//                   child: Text(context.watchController<MarianumMessageController>().state.toString())
 | 
					 | 
				
			||||||
//               ),
 | 
					 | 
				
			||||||
//               TextButton(
 | 
					 | 
				
			||||||
//                   onPressed: () => context.readController<MarianumMessageController>().error(),
 | 
					 | 
				
			||||||
//                   child: Text(context.watchController<MarianumMessageController>().state.toString())
 | 
					 | 
				
			||||||
//               ),
 | 
					 | 
				
			||||||
//               ControllerConsumer<MarianumMessageController, MarianumMessageState>(child: (context, state) => Text(state.base.toString())),
 | 
					 | 
				
			||||||
//               SubSelectedControllerConsumer<MarianumMessageController, MarianumMessageState, List>(
 | 
					 | 
				
			||||||
//                 subSelect: (state) => state.messages,
 | 
					 | 
				
			||||||
//                 child: (context, state) => Text(state.toString()),
 | 
					 | 
				
			||||||
//               )
 | 
					 | 
				
			||||||
//             ],
 | 
					 | 
				
			||||||
//           ),
 | 
					 | 
				
			||||||
//         ),
 | 
					 | 
				
			||||||
//       ),
 | 
					 | 
				
			||||||
//   );
 | 
					 | 
				
			||||||
// }
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user