models/template_models library
Data models for GS Template Maker library
This module contains the core data structures used for template creation, layer management, and canvas properties.
import 'package:gs_template_maker/models/template_models.dart';
final template = TemplateModel(
id: 'template_1',
name: 'My Template',
ratio: '16:9',
canvas: CanvasModel(width: 800, height: 450, background: BackgroundModel(type: 'image')),
layers: [],
);