smartlinks_blogs 2.0.2 copy "smartlinks_blogs: ^2.0.2" to clipboard
smartlinks_blogs: ^2.0.2 copied to clipboard

Blogs UI for the SmartLinks Flutter SDK.

smartlinks_blogs #

Blog list and article detail UI for the SmartLinks Flutter SDK.

Recommended: SmartLinks.blogs.open() via smartlinks_flutter. Full docs: repository README.

Quick start #

import 'package:smartlinks_flutter/smartlinks_flutter.dart';

await SmartLinks.initialize(
  apiKey: 'YOUR_KEY',
  appearance: SmartLinksAppearance(
    blogsStrings: BlogsStrings(pageTitle: 'News', searchHint: 'Search articles...'),
  ),
);

SmartLinks.blogs.open(
  theme: SmartLinksTheme(accentColor: Colors.deepPurple),
);

Features #

  • Paginated blog list with search
  • HTML article rendering, image fullscreen, share sheet
  • BlogsStrings for host branding overrides

License #

MIT — see LICENSE.