grock 0.5.3 copy "grock: ^0.5.3" to clipboard
grock: ^0.5.3 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 MyApp());

class MyApp extends StatelessWidget {
  const MyApp({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 Home(),
    );
  }
}

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

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold();
  }
}
80
likes
0
pub points
85%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, flutter, page_transition

More

Packages that depend on grock