nostr_widgets 0.0.1 copy "nostr_widgets: ^0.0.1" to clipboard
nostr_widgets: ^0.0.1 copied to clipboard

A Flutter UI package providing ready-to-use widgets.

This package helps you to easily produce Nostr apps by providing generics Widgets and methods.

Features #

  • Nostr widgets
  • Login persistence

Getting started #

flutter pub add ndk
flutter pub add nostr_widgets

Usage #

import 'package:nostr_widgets/nostr_widgets.dart';

// login page with all login methods
final loginPage = ListView(
    children: [
        NLogin(ndk),
    ],
);

// user info
final userPage = ListView(
    children: [
        NUserProfile(ndk),
    ],
);

// call this to connect user from local storage
nRestoreLastSession(ndk);

// logout the user and delete his local storage
nLogout(ndk);
0
likes
0
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter UI package providing ready-to-use widgets.

Repository (GitHub)
View/report issues

Topics

#ndk #nostr #widget

License

unknown (license)

Dependencies

crypto, flutter, flutter_localizations, flutter_secure_storage, get, http, intl, ndk, nip01, nip07_event_signer, nip19, url_launcher

More

Packages that depend on nostr_widgets