grock 0.5.7 copy "grock: ^0.5.7" to clipboard
grock: ^0.5.7 copied to clipboard

Api Services, Snackbar, Toast, No Context Extension, Custom Widgets, Widget Extensions, Fast Tools, IOS Style Widget and Tools.

example/lib/main.dart

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

void main() => runApp(const GrockApp());

class GrockApp extends StatelessWidget {
  const GrockApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      navigatorKey: Grock.navigationKey, // added this line
      scaffoldMessengerKey: Grock.scaffoldMessengerKey, // added this line
      title: 'GROCK',
      home: const GrockHome(),
    );
  }
}

class GrockHome extends StatefulWidget {
  const GrockHome({super.key});

  @override
  State<GrockHome> createState() => _GrockHomeState();
}

class _GrockHomeState extends State<GrockHome> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold();
  }
}
79
likes
140
points
368
downloads

Publisher

unverified uploader

Weekly Downloads

Api Services, Snackbar, Toast, No Context Extension, Custom Widgets, Widget Extensions, Fast Tools, IOS Style Widget and Tools.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, page_transition

More

Packages that depend on grock