get_smart 0.1.2+3 copy "get_smart: ^0.1.2+3" to clipboard
get_smart: ^0.1.2+3 copied to clipboard

outdated

A package of widgets and utils to make flutter easy and smart.

example/lib/main.dart

import 'package:example/src/login_page.dart';
import 'package:flutter/material.dart';
import 'package:get_smart/get_smart.dart';

void main() => runApp(App());

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) => GetMaterialApp(
        title: 'Get Smart Demo',
        builder: (context, child) => Theme(
          data: GetTheme.blackWhite(context),
          child: child!,
        ),
        localizationsDelegates: [GetLocalizations.delegate],
        supportedLocales: GetLocalizations.supportedLocales,
        initialRoute: AppRoute.login,
        getPages: AppRoute.pages,
        debugShowCheckedModeBanner: false,
        defaultTransition: Transition.cupertino,
      );
}

class AppRoute {
  static final login = $route(LoginPage);

  static List<GetPage> get pages => [
        GetPage(
          name: login,
          page: () => const LoginPage(),
          transition: Transition.noTransition,
        ),
      ];
}
20
likes
0
pub points
21%
popularity

Publisher

unverified uploader

A package of widgets and utils to make flutter easy and smart.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, cupertino_icons, dio, dots_indicator, flutter, get, google_fonts, http_parser, intl, mime_type, path, shimmer, sprintf, timeago, url_launcher

More

Packages that depend on get_smart