> For the complete documentation index, see [llms.txt](https://helio-junior.gitbook.io/vuex4flutter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helio-junior.gitbook.io/vuex4flutter/using-as-widget/using-inside-the-widgets/step-2-using-the-connector.md).

# Step 2: Using the connector

```dart
class YourContainer extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Vuex4FlutterConnector(
      builder: (context, store) {
        final isEmpty = store.getter('/cart/isEmpty');
        final isFetching = store.getter('/cart/isFetching');

        return Center(
          child: isFetching
            ? CircularProgressIndicator()
            : Text('The cart is empty: $isEmpty'),
        );
      }
    );
  }
}
```
