card_tjsp 0.0.1 card_tjsp: ^0.0.1 copied to clipboard
Tarefa de disciplina desenvolvimento mobile
import 'package:card_tjsp/card_tjsp.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
),
body: const Expanded(
child: CardTjsp("Nome funcionário", "cargo", "matricula", "roteiro", "10"),
)
);
}
}