BlogAdminPage constructor

const BlogAdminPage({
  1. AdminRestClient client = const AdminRestClient(),
  2. String listPath = '/api/blog/posts/list',
  3. String createPath = '/api/blog/posts',
  4. String updatePath = '/api/blog/posts/update',
  5. String deletePath = '/api/blog/posts/delete',
  6. String title = 'Notícias',
  7. String? defaultAuthor,
  8. Key? key,
})

Implementation

const BlogAdminPage({
  this.client = const AdminRestClient(),
  this.listPath = '/api/blog/posts/list',
  this.createPath = '/api/blog/posts',
  this.updatePath = '/api/blog/posts/update',
  this.deletePath = '/api/blog/posts/delete',
  this.title = 'Notícias',
  this.defaultAuthor,
  super.key,
});