Done Category, Product Catalogue, Customer, Vendor, Purchase Invoice Module
This commit is contained in:
@@ -17,22 +17,26 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
|
||||
final List<Map<String, dynamic>> _pages = [
|
||||
{
|
||||
'title': 'Welcome to Kifi',
|
||||
'description': 'A beautiful, intelligent way to track your personal finances.',
|
||||
'description':
|
||||
'A beautiful, intelligent way to track your personal finances.',
|
||||
'icon': LucideIcons.wallet,
|
||||
},
|
||||
{
|
||||
'title': 'Double-Entry, Simplified',
|
||||
'description': 'We track money moving from one place to another. Every expense comes from a Wallet (like Cash) and goes to a Category (like Food).',
|
||||
'description':
|
||||
'We track money moving from one place to another. Every expense comes from a Wallet (like Cash) and goes to a Category (like Food).',
|
||||
'icon': LucideIcons.arrowRightLeft,
|
||||
},
|
||||
{
|
||||
'title': 'Intelligent Automation',
|
||||
'description': 'Set up recurring transactions and let Kifi handle your monthly subscriptions and salary deposits automatically.',
|
||||
'description':
|
||||
'Set up recurring transactions and let Kifi handle your monthly subscriptions and salary deposits automatically.',
|
||||
'icon': LucideIcons.bot,
|
||||
},
|
||||
{
|
||||
'title': 'Powerful Insights',
|
||||
'description': 'View day-by-day spending trends and strict monthly budgets to take control of your financial future.',
|
||||
'description':
|
||||
'View day-by-day spending trends and strict monthly budgets to take control of your financial future.',
|
||||
'icon': LucideIcons.barChart2,
|
||||
},
|
||||
];
|
||||
@@ -76,16 +80,21 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
|
||||
const SizedBox(height: 60),
|
||||
Text(
|
||||
page['title'],
|
||||
style: Theme.of(context).textTheme.displayLarge?.copyWith(fontSize: 28),
|
||||
style: Theme.of(
|
||||
context,
|
||||
).textTheme.displayLarge?.copyWith(fontSize: 28),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
Text(
|
||||
page['description'],
|
||||
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
|
||||
color: Theme.of(context).colorScheme.onSurface.withValues(alpha: 0.7),
|
||||
height: 1.5,
|
||||
),
|
||||
style: Theme.of(context).textTheme.bodyLarge
|
||||
?.copyWith(
|
||||
color: Theme.of(
|
||||
context,
|
||||
).colorScheme.onSurface.withValues(alpha: 0.7),
|
||||
height: 1.5,
|
||||
),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
],
|
||||
@@ -109,7 +118,9 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
|
||||
decoration: BoxDecoration(
|
||||
color: _currentPage == index
|
||||
? Theme.of(context).colorScheme.primary
|
||||
: Theme.of(context).colorScheme.primary.withValues(alpha: 0.2),
|
||||
: Theme.of(
|
||||
context,
|
||||
).colorScheme.primary.withValues(alpha: 0.2),
|
||||
borderRadius: BorderRadius.circular(4),
|
||||
),
|
||||
),
|
||||
@@ -126,7 +137,11 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
|
||||
);
|
||||
}
|
||||
},
|
||||
child: Text(_currentPage == _pages.length - 1 ? 'Get Started' : 'Next'),
|
||||
child: Text(
|
||||
_currentPage == _pages.length - 1
|
||||
? 'Get Started'
|
||||
: 'Next',
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user