INNER CODE UNIT · Dart
TestWidget
EmadBeltaje/flutter_getx_template · integration_test/awesome_notifications_helper_test.dart:106
class TestWidget extends GetWidget<TestController> {
const TestWidget({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return GetMaterialApp(
home: Scaffold(
body: SafeArea(
child: Center(
child: Obx(() => Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text('Notifications Count => ${controller.notificationsCounter.value}'),
Text('Notifications Action => ${controller.notificationAction.value}'),
],
)),
),