innovaccer_design_system 0.1.1 copy "innovaccer_design_system: ^0.1.1" to clipboard
innovaccer_design_system: ^0.1.1 copied to clipboard

A package that contains the core UI components as per the Innovaccer design system.

example/lib/main.dart

import 'package:example/screens/home_screen.dart';
import 'package:example/utils/router/app_router.dart';
import 'package:flutter/material.dart';
import 'package:innovaccer_design_system/innovaccer_design_system.dart';
import 'utils/locator/locator.dart';

void main() {
  setupLocator();
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    AppRouter.shared.setUpRouter();
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return TextScaler<TextScalingFactor>(
      initialScaleFactor: TextScalingFactor(scaleFactor: 1.0),
      child:  MDSToast(
        child: MaterialApp(
            title: 'Core UI Examples',
            debugShowCheckedModeBanner: false,
            navigatorKey: appNavigator.navigatorKey,
            onGenerateRoute: AppRouter.shared.generator,
            onUnknownRoute: AppRouter.shared.unKnownRouteHandler,
            initialRoute: HomeScreen.routeName,
          ),
      ),

    );
  }
}
28
likes
80
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

A package that contains the core UI components as per the Innovaccer design system.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

decimal, flutter, flutter_linkify, flutter_styled_toast, shared_preferences, sms_autofill, url_launcher

More

Packages that depend on innovaccer_design_system