hypen_flutter 0.14.0 copy "hypen_flutter: ^0.14.0" to clipboard
hypen_flutter: ^0.14.0 copied to clipboard

discontinuedreplaced by: hypen
outdated

A hypen framework

example/lib/main.dart

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

import 'router.hypen.dart';

void main() {
  runApp(
    const HypenScope(
      child: MainApp(),
    ),
  );
}

class MainApp extends HypenWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context, hypen) {
    return MaterialApp.router(
      routerConfig: hypenRouter,
    );
  }
}

bool showAll = true;