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

A new Flutter package to build interfaces more quick in your project .

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:manga_ui/manga_ui.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: () {
                AlertQEG(
                    context: context,
                    type: AlertType.success,
                    title: 'Name of System - Sucesso',
                    //  barrierDismissible: false,
                    actions: [
                      ButtonQEG(
                        text: 'Confirmar',
                        onPressed: () {},
                      ),
                      ButtonQEG(
                        text: 'Cancelar',
                        onPressed: () {
                          Navigator.of(context).pop();
                        },
                        color: Colors.red,
                        outlined: true,
                      ),
                    ],
                    barrierDismissible: false,
                    text:
                        'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ligula lectus, aliquam et ante vitae, porttitor efficitur neque. Vestibulum malesuada gravida diam, sit amet semper mi efficitur id.');
              },
              size: ButtonSize.normal,
            ),
          ],
        ),
      ),
    );
  }
}
0
likes
120
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package to build interfaces more quick in your project .

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on manga_ui