feat: add initial dashbot package implementation

- Created a new Dashbot package with core functionalities.
- Implemented Dashbot window model and notifier for state management.
- Added UI components including Dashbot default page and home page.
- Integrated routing for Dashbot with initial routes defined.
- Included assets for Dashbot icons and set up pubspec.yaml.
- Added tests for Dashbot window notifier to ensure functionality.
- Established a basic README and CHANGELOG for the package.
This commit is contained in:
Udhay-Adithya
2025-08-31 12:15:43 +05:30
parent a3669b1685
commit b9cc42b019
25 changed files with 802 additions and 8 deletions

View File

@@ -0,0 +1,40 @@
import 'package:apidash_design_system/apidash_design_system.dart'
show kVSpacer20, kVSpacer16, kVSpacer10;
import 'package:dashbot/core/utils/dashbot_icons.dart';
import 'package:flutter/material.dart';
class DashbotDefaultPage extends StatelessWidget {
const DashbotDefaultPage({super.key});
@override
Widget build(BuildContext context) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
kVSpacer16,
DashbotIcons.getDashbotIcon1(width: 60),
kVSpacer20,
Text(
'Hello there!',
style: TextStyle(fontSize: 22, fontWeight: FontWeight.w800),
),
kVSpacer10,
Text(
'Request not made yet',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14,
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
Text(
"Why not go ahead and make one?",
textAlign: TextAlign.center,
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w200),
),
],
);
}
}