ARMOYUWidgets constructor

ARMOYUWidgets({
  1. required ARMOYUServices service,
})

Implementation

ARMOYUWidgets({required this.service}) {
  elevatedButton = ARMOYUElevatedButton();
  textField = ARMOYUTextfields(service);
  mention = ARMOYUMention(service);
  searchBar = ARMOYUSearchBar(service);
  social = SocialWidget(service);
  chat = ChatWidget(service);
  gallery = GalleryWidget(service);
  cards = CardWidget(service);
  news = NewsWidget(service);
  notifications = NotificationsWidget(service);
  players = PlayersWidget(service);
  profile = ProfileWidget(service);
  reels = ReelsWidget(service);

  accountController = Get.put(AccountUserController(), permanent: true);

  socketIO = Get.put(SocketioController(), permanent: true);
}