flutter_notation 1.0.0 copy "flutter_notation: ^1.0.0" to clipboard
flutter_notation: ^1.0.0 copied to clipboard

A new flutter plugin project.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Flutter Notation'),
        ),
        body: Builder(
          builder: (BuildContext context) {
            return Container(
              margin: const EdgeInsets.all(8.0),
              child: Row(
                mainAxisAlignment: MainAxisAlignment.center,
                children: <Widget>[
                  RaisedButton(
                    onPressed: () {
                      OpacityNotation.show(
                        context: context,
                        bottom: 100,
                        child: Material(
                          child: Text('Notation'),
                        ),
                      );
                    },
                    child: Text('Show Opacity Notation'),
                  ),
                ],
              ),
            );
          },
        ),
      ),
    );
  }
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A new flutter plugin project.

Homepage

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_notation