EmptyViewModel constructor

const EmptyViewModel({
  1. EmptyType type = EmptyType.featuredIcon,
  2. EmptyHierarchy hierarchy = EmptyHierarchy.md,
  3. dynamic icon = GeneralIcon.searchLg,
  4. String title = "Упс, тут пусто",
  5. String subtitle = "Данные не найдены",
  6. List<OneButtonViewModel>? buttons,
})

Implementation

const EmptyViewModel({
  this.type = EmptyType.featuredIcon,
  this.hierarchy = EmptyHierarchy.md,
  this.icon = GeneralIcon.searchLg,
  this.title = "Упс, тут пусто",
  this.subtitle = "Данные не найдены",
  this.buttons,
});