pacote_kdb 0.0.1 pacote_kdb: ^0.0.1 copied to clipboard
A new Flutter package project.
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: [],
)
],
),
),
);
}
}