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

outdated

Flutter "multitool" for developer

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_multitool/flutter_multitool.dart';

void main() => runApp(MyApp());

// ignore: use_key_in_widget_constructors
class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        backgroundColor: Colors.white,
        scaffoldBackgroundColor: Colors.white,
      ),
      home: const HomePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          const Text('Some text').expanded(),
          ElevatedButton(
            onPressed: onPressed,
            child: const Text('Save').paddingAll(12.0),
          ),
          const ColoredBox(color: Colors.red).gestureDetector(
            onTap: onPressed,
          ),
        ],
      ),
    );
  }

  void onPressed() {}
}
5
likes
0
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter "multitool" for developer

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

bloc, flutter, freezed_annotation

More

Packages that depend on flutter_multitool