eralpsoftware

Last updated:

0 purchases

eralpsoftware Image
eralpsoftware Images
Add to Cart

Description:

eralpsoftware

Eralp Software package for Flutter #
A Flutter package for help Eralp Software developers.
Installation #
First, add eralpsoftware as a dependency in your pubspec.yaml file.
Example #
import 'package:eralpsoftware/eralpsoftware.dart';
import 'package:flutter/material.dart';

class MyExample extends StatefulWidget {
const MyExample({Key key}) : super(key: key);

@override
_MyExampleState createState() => _MyExampleState();
}

class _MyExampleState extends State<MyExample> {
final Calculator _calculator = Calculator();

int _count = 0;

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Example'),
),
body: Container(
child: Center(
child: Text("$_count"),
),
),
floatingActionButton: FloatingActionButton(
onPressed: onPressed,
child: Icon(Icons.add),
),
);
}

void onPressed() {
setState(() {
_count += _calculator.addOne(_count);
});
}
}
copied to clipboard
Feedback #
Please feel free to give us any feedback
helping support this package!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.