gradr_lib 0.0.2 copy "gradr_lib: ^0.0.2" to clipboard
gradr_lib: ^0.0.2 copied to clipboard

Convert climbing grading systems with a really simple interface.

example/lib/main.dart

import 'package:example/routes/grade_system_converter.dart';
import 'package:example/routes/grade_system_detector.dart';
import 'package:example/routes/home.screen.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    var darkTheme = ThemeData.dark();

    return MaterialApp(
      title: 'Flutter Demo',
      theme: darkTheme.copyWith(
        appBarTheme: darkTheme.appBarTheme.copyWith(elevation: 0),
        primaryColor: Colors.amber,
        colorScheme: darkTheme.colorScheme.copyWith(
          primary: Colors.amber,
        ),
      ),
      routes: {
        'home': (ctx) => const HomeScreen(),
        'grade_system_detector': (ctx) => const GradeSystemDetectorScreen(),
        'grade_system_converter': (ctx) => const GradeSystemConverterScreen(),
      },
      initialRoute: 'home',
    );
  }
}
1
likes
150
pub points
0%
popularity

Publisher

verified publishergradr.dev

Convert climbing grading systems with a really simple interface.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gradr_lib