cyberframework 0.0.49 copy "cyberframework: ^0.0.49" to clipboard
cyberframework: ^0.0.49 copied to clipboard

unlisted

A Flutter framework providing base UI components, form lifecycle, API integration helpers, storage utilities, and enterprise-ready

example/lib/main.dart

import 'package:cyberframework/cyberframework.dart';
import 'spscreen.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  configureDependencies();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return V_Root("MyHomePage");
  }
}

@Singleton(as: CyberForm)
@named
class MyHomePage extends CyberForm {
  @override
  Widget buildBody(BuildContext context) {
    return Center(child: Text("Hello World", style: TextStyle(fontSize: 24)));
  }
}