flutter_slick 4.0.46 copy "flutter_slick: ^4.0.46" to clipboard
flutter_slick: ^4.0.46 copied to clipboard

Slick patterns, components, navigation and services for Flutter.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_slick/navigation/logic.dart';
import 'package:provider/provider.dart';

import 'application.dart';
import 'paths/root.dart';
import 'screens/initial.dart';
import 'services/mock_authentication.dart';

void main() {
  runApp(
    MultiProvider(
      providers: [
        Provider<MockAuthenticationService>(
          create: (context) {
            return MockAuthenticationService();
          },
        ),
        ChangeNotifierProvider<NavigationLogic>(
          create: (context) {
            return NavigationLogic(
              context: context,
              initialScreen: () => const InitialScreen(),
              rootPaths: rootPaths,
              authState:
                  Provider.of<MockAuthenticationService>(context, listen: false)
                      .authState,
            );
          },
        ),
      ],
      child: const Application(),
    ),
  );
}
5
likes
0
pub points
72%
popularity

Publisher

verified publishercodecollective.com

Slick patterns, components, navigation and services for Flutter.

Repository

License

unknown (license)

Dependencies

dropdown_search, flutter, get_it, intl, provider, validators

More

Packages that depend on flutter_slick