pacote_kdb 0.0.1 copy "pacote_kdb: ^0.0.1" to clipboard
pacote_kdb: ^0.0.1 copied to clipboard

A new Flutter package project.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:pacote_kdb/pacote_kdb.dart';

void main() {
  runApp(MeuApp());
}

class MeuApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Home App'),
        ),
        body: Dashboard(
          layout: 2,
          grid: false,
          grids: 2,
          children: [
            ItemDashboard(
              screenTitle:
                  'Notícias Notícias Notícias Notícias Notícias Notícias Notícias Notícias',
              screenIcon:
                  'https://upload.wikimedia.org/wikipedia/commons/1/16/Facebook-icon-1.png',
              onPressed: () => debugPrint('Teste'),
              arguments: [],
            ),
            ItemDashboard(
              screenTitle: 'Kellvem Alves',
              screenIcon:
                  'https://upload.wikimedia.org/wikipedia/commons/1/16/Facebook-icon-1.png',
              onPressed: () => debugPrint('Teste'),
              arguments: [],
            ),
            ItemDashboard(
              screenTitle: 'Kellvem Alves',
              screenIcon:
                  'https://upload.wikimedia.org/wikipedia/commons/1/16/Facebook-icon-1.png',
              onPressed: () => debugPrint('Teste'),
              arguments: [],
            ),
            ItemDashboard(
              screenTitle: 'Kellvem Alves',
              screenIcon:
                  'https://upload.wikimedia.org/wikipedia/commons/1/16/Facebook-icon-1.png',
              onPressed: () => debugPrint('Teste'),
              arguments: [],
            )
          ],
        ),
      ),
    );
  }
}
1
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package project.

Homepage

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pacote_kdb