contra 0.0.8 copy "contra: ^0.0.8" to clipboard
contra: ^0.0.8 copied to clipboard

Small Internal Package to manage MVC Architecture in our app

example/lib/main.dart

import 'package:example/views/counter.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

void main() {
  runApp(
    const ProviderScope(
      child: MyApp(),
    ),
  );
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.deepPurple,
        ),
        useMaterial3: true,
      ),
      home: const CounterViewWihtBuilder(),
    );
  }
}
1
likes
150
pub points
0%
popularity

Publisher

verified publisherbusha.co

Small Internal Package to manage MVC Architecture in our app

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, hooks_riverpod, riverpod_annotation

More

Packages that depend on contra