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

A highly customizable Flutter widget that provides beautiful press animations and effects for any child widget. Perfect for creating interactive UI elements with minimal effort.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:mastro/mastro.dart';
import 'package:mastro_example/features/notes/presentation/notes_view.dart';

import 'features/notes/logic/notes_box.dart';

// Initialize the app with persistent storage
void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await MastroInit.initialize();

  runApp(MaterialApp(
    theme: ThemeData(useMaterial3: true),
    home: MultiBoxProvider(
      providers: [
        BoxProvider(
          create: (context) => NotesBox(),
        )
      ],
      child: const NotesView(),
    ),
  ));
}
3
likes
0
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A highly customizable Flutter widget that provides beautiful press animations and effects for any child widget. Perfect for creating interactive UI elements with minimal effort.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, provider, shared_preferences

More

Packages that depend on mastro