quick_ui_eg 0.0.2
quick_ui_eg: ^0.0.2 copied to clipboard
Uma biblioteca de componentes visuais inspirada no Bootstrap para Flutter.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:quick_ui_eg/quick_ui_eg.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Quick UI EG Example',
theme: ThemeData(primarySwatch: Colors.blue),
home: const ExampleScreen(),
);
}
}
class ExampleScreen extends StatelessWidget {
const ExampleScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text("Exemplo Quick UI EG")),
body: Center(
child: Column(
children: [
ButtonQEG(
text: "Acessar",
onPressed: () {
print("Botão pressionado!");
},
size: ButtonSize.normal,
isFullWidth: false,
outlined: true,
),
],
),
),
);
}
}