get_smart 0.0.2+5 copy "get_smart: ^0.0.2+5" to clipboard
get_smart: ^0.0.2+5 copied to clipboard

outdated

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

example/lib/main.dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get_smart/get_smart.dart';

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

class App extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Get Smart Demo',
      builder: (context, child) => Theme(
        data: GetTheme.black(context),
        child: child,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  static const items = [
    "One",
    "Two",
    "Three",
    "Four",
    "Five",
    "Six",
  ];

  @override
  Widget build(BuildContext context) {
    return GetScaffold(
      isHome: true,
      title: "Get Smart Home",
      child: ListView.separated(
        itemCount: items.length,
        separatorBuilder: (_, __) => AppTileSeparator(),
        itemBuilder: (_, index) {
          var data = items[index];
          return AppTile.simple(
            icon: CupertinoIcons.bitcoin_circle,
            title: data,
            color: data.materialPrimary,
            isIconBoxed: false,
            onTap: () {},
          );
        },
      ),
    );
  }
}
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

auto_size_text, cupertino_icons, dio, dots_indicator, flutter, get, intl, object_mapper, responsive_ui, shimmer, sprintf, url_launcher

More

Packages that depend on get_smart