nativemind_deals 1.1.2
nativemind_deals: ^1.1.2 copied to clipboard
Handmade UI of the DealApp (Dilap) marketplace by Eugene Tretiakov: onboarding, phone / OTP / PIN, specialists, reviews, calls and charts behind nine ports.
example/example.dart
// The deals widgets under NmDealsScope: every port is optional, so a screen can be shown before the app implements
// auth, PIN, calls or favorites (see README for the full set of ports and routes).
// written by Claude Code (generated by Claude Code), 2026-11-16; pub.dev example (pana "Package has an example")
import 'package:flutter/material.dart';
import 'package:nativemind_core/nativemind_core.dart';
import 'package:nativemind_deals/nativemind_deals.dart';
// written by Claude Code (generated by Claude Code), 2026-11-16; pub.dev example (pana "Package has an example")
void main() => runApp(
NmDealsScope(
child: MaterialApp(
localizationsDelegates: const [NmL10n.delegate, NmDealsL10n.delegate],
home: Scaffold(
body: Padding(
padding: const EdgeInsets.all(16),
child: NmReadMore(
text: 'About the specialist. ' * 20,
style: const TextStyle(fontSize: 14),
expandButtonStyle: const TextStyle(fontWeight: FontWeight.w600),
),
),
),
),
),
);