squares 0.3.4 copy "squares: ^0.3.4" to clipboard
squares: ^0.3.4 copied to clipboard

outdated

A flexible chessboard widget for Flutter. Visually customisable, with support for many chess variants.

example/lib/main.dart

import 'package:example/game_manager.dart';
import 'package:example/home_view.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:google_fonts/google_fonts.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MultiBlocProvider(
      providers: [
        BlocProvider<GameManager>(
          create: (ctx) => GameManager(),
        ),
      ],
      child: MaterialApp(
        title: 'Squares Demo',
        theme: ThemeData(
          primarySwatch: Colors.blueGrey,
          accentColor: Colors.cyan,
          fontFamily: GoogleFonts.cairo().fontFamily,
        ),
        home: HomeView(),
      ),
    );
  }
}
33
likes
0
pub points
77%
popularity

Publisher

verified publisheralxbkr.xyz

A flexible chessboard widget for Flutter. Visually customisable, with support for many chess variants.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

badges, equatable, flutter

More

Packages that depend on squares