native_trend 0.2.0 copy "native_trend: ^0.2.0" to clipboard
native_trend: ^0.2.0 copied to clipboard

Picks pub.dev packages for the latest platform design trends: native-view Liquid Glass on iOS, Material 3 Expressive on Android. Writes AI context.

example/example.dart

import 'package:http/http.dart' as http;
import 'package:native_trend/native_trend.dart';

/// Classifies one package from code instead of the CLI.
Future<void> main() async {
  final client = http.Client();
  try {
    final r = await fetchPackage(client, 'cupertino_native_better');
    final archive = isPluginFor(r.package, 'ios')
        ? await fetchArchiveText(
            client,
            r.package['latest']['archive_url'] as String,
          )
        : null;
    final c = Candidate.fromJson(
      package: r.package,
      score: r.score,
      kind: classifyGlass(archive),
    );
    print(renderText([c]));
  } finally {
    client.close();
  }
}
0
likes
160
points
161
downloads

Documentation

API reference

Publisher

verified publisherseungpyo.online

Weekly Downloads

Picks pub.dev packages for the latest platform design trends: native-view Liquid Glass on iOS, Material 3 Expressive on Android. Writes AI context.

Repository (GitHub)
View/report issues

Topics

#liquid-glass #ios #material-design #cli #ai

License

MIT (license)

Dependencies

args, http

More

Packages that depend on native_trend