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

QAction, easier anction with a question.

example/lib/main.dart

import 'package:example/example.dart';
import 'package:flutter/material.dart';
import 'package:q_action/q_action.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Material(
      child: QAction(
        question: "Want learn more?",
        actionName: "Click Here",
        action: () {
          Navigator.push(
            context,
            MaterialPageRoute(
              builder: (context) => const Example(),
            ),
          );
        },
      ),
    );
  }
}
0
likes
130
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

QAction, easier anction with a question.

License

unknown (license)

Dependencies

flutter

More

Packages that depend on q_action